discourse/app/assets/stylesheets/mobile/banner.scss
Joffrey JAFFEUX 174d392e5a
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00

18 lines
377 B
SCSS

// --------------------------------------------------
// Banner
// --------------------------------------------------
#banner {
// go full width on mobile, by extending into the 10px wrap
// borders on left and right
margin: 0 -10px;
@media all and (max-height: 499px) {
max-height: 100px;
}
@media all and (min-height: 500px) {
max-height: 180px;
}
}