mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 10:39:09 +00:00
[ui] add media query template literals, convert everything to the superior.
This commit is contained in:
parent
c40c04e55e
commit
f2bb6a7b18
10 changed files with 90 additions and 45 deletions
|
@ -1,5 +1,5 @@
|
|||
import styled from 'styled-components'
|
||||
import MediaQuery from '../kit/media'
|
||||
import { md } from '../kit/media'
|
||||
|
||||
export default styled.div`
|
||||
position: absolute;
|
||||
|
@ -15,7 +15,7 @@ export default styled.div`
|
|||
overflow: auto;
|
||||
pointer-events: none;
|
||||
white-space: normal;
|
||||
${() => MediaQuery({ md: `
|
||||
white-space: nowrap; `
|
||||
})}
|
||||
${md`
|
||||
white-space: nowrap;
|
||||
`}
|
||||
`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue