[ui] add a few media query template misses

This commit is contained in:
41666 2019-04-03 14:13:29 -05:00
parent f2bb6a7b18
commit 544ae65c58
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
2 changed files with 7 additions and 9 deletions

View file

@ -17,7 +17,7 @@ export const breakpoints = {
xl: 1280
}
const mediaTemplateLiteral = (size: number, ...stuff: any): string =>
const mediaTemplateLiteral = (size: number, ...stuff: mixed[]): string =>
`@media screen and (min-width: ${size}px) {\n${stuff.join()}\n};`
export const xs = mediaTemplateLiteral.bind(null, breakpoints.xs)