CSS: Add safe area paddings for iPhone X landscape orientation
fixes #2966
This commit is contained in:
parent
f2c37f1e93
commit
c48f69915b
|
@ -119,3 +119,13 @@
|
|||
#layout.twocols.wide-layout #col2 {
|
||||
width: 66.66%;
|
||||
}
|
||||
|
||||
// Safe areas for iPhone X
|
||||
|
||||
#header, #sidebar, #footer {
|
||||
padding-left: constant(safe-area-inset-left);
|
||||
}
|
||||
|
||||
#main, #footer {
|
||||
padding-right: constant(safe-area-inset-right);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue