mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 22:46:29 +08:00
174d392e5a
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.
18 lines
377 B
SCSS
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;
|
|
}
|
|
}
|