mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:52:46 +08:00
UX: Adjust menu panels on iOS (#20703)
This commit is contained in:
parent
5103d249aa
commit
32ad46c551
|
@ -155,6 +155,7 @@
|
|||
.quick-access-panel {
|
||||
width: 320px;
|
||||
padding: 0.75em;
|
||||
padding-bottom: env(safe-area-inset-bottom, 0.75em);
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
min-width: 0; // makes sure menu tabs don't go off screen
|
||||
|
@ -716,9 +717,7 @@ body.footer-nav-ipad {
|
|||
--100dvh: 100dvh;
|
||||
}
|
||||
|
||||
--base-height: calc(
|
||||
var(--100dvh) - var(--header-top) - env(safe-area-inset-bottom, 0px)
|
||||
);
|
||||
--base-height: calc(var(--100dvh) - var(--header-top));
|
||||
|
||||
height: var(--base-height);
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
border-top: 1.5px solid var(--primary-low);
|
||||
background: var(--primary-very-low);
|
||||
padding: 0.5em 0.8em;
|
||||
padding-bottom: env(safe-area-inset-bottom, 0.5em);
|
||||
&:before {
|
||||
// fade to make scroll more apparent
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in New Issue
Block a user