mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 06:29:30 +08:00
FIX: ensure menu not too tall on desktop only
Followup to af65809e
, menu-panel shorter than 100vh does not look good on mobile.
This commit is contained in:
parent
ce0bac7a3d
commit
7eb26e5bbb
|
@ -51,7 +51,7 @@
|
||||||
touch-action: pan-y pinch-zoom;
|
touch-action: pan-y pinch-zoom;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
max-height: calc(100vh - 100px);
|
max-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-notification {
|
.badge-notification {
|
||||||
|
|
3
app/assets/stylesheets/desktop/menu-panel.scss
Normal file
3
app/assets/stylesheets/desktop/menu-panel.scss
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.menu-panel .panel-body {
|
||||||
|
max-height: calc(100vh - 100px);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user