Open knox153 opened 4 years ago
The long overdue PR is here lol. Since this is more like a proof of concept and it won't be merge into master, no code review is needed haha
To include css properties on mobile only, the following mixin can be used:
@include mobile { // Mobile only css property }
These are usually at the bottom of the .scss file to override any css properties defined above.
.scss
Display components on desktop only:
<Desktop> // Desktop only component here </Desktop>
Display components on mobile only:
<Mobile> // Mobile only component here </Mobile>
::after
The long overdue PR is here lol. Since this is more like a proof of concept and it won't be merge into master, no code review is needed haha
Media query css mixin
To include css properties on mobile only, the following mixin can be used:
These are usually at the bottom of the
.scss
file to override any css properties defined above.Media query component
Display components on desktop only:
Display components on mobile only:
Map page on mobile
TODO
::after
is needed in modal, we should be able to directly modify the modal position