mirror of
https://github.com/discourse/discourse.git
synced 2025-04-17 00:39:31 +08:00
UX: Landscape spacing in iOS devices with a notch
Avoids some content being covenred by the notch in some iOS devices.
This commit is contained in:
parent
f85f73be88
commit
fec6411fbf
@ -85,4 +85,8 @@
|
||||
|
||||
#main-outlet {
|
||||
padding-top: 4.2857em;
|
||||
@media only screen and (orientation: landscape) {
|
||||
padding-right: env(safe-area-inset-right);
|
||||
padding-left: env(safe-area-inset-left);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user