mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
[ui] add a few media query template misses
This commit is contained in:
parent
f2bb6a7b18
commit
544ae65c58
2 changed files with 7 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue