mirror of
https://github.com/discourse/discourse.git
synced 2026-07-30 08:08:20 -05: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:
@@ -51,7 +51,7 @@
|
||||
touch-action: pan-y pinch-zoom;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
max-height: calc(100vh - 100px);
|
||||
max-height: 100vh;
|
||||
}
|
||||
|
||||
.badge-notification {
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
.menu-panel .panel-body {
|
||||
max-height: calc(100vh - 100px);
|
||||
}
|
||||
Reference in New Issue
Block a user