fix: ipad web view ui improvements (#1664)

This commit is contained in:
Aman Harwara
2022-09-29 13:47:00 +05:30
committed by GitHub
parent c3d6a91730
commit 20e420820d
10 changed files with 79 additions and 36 deletions

View File

@@ -40,11 +40,6 @@ body {
color: var(--sn-stylekit-foreground-color);
}
.safe-area-padding {
padding: var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom)
var(--safe-area-inset-left);
}
html,
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
@@ -154,12 +149,16 @@ $footer-height: 2rem;
}
.app {
height: calc(100% - #{$footer-height});
height: 100%;
overflow: hidden;
position: relative;
vertical-align: top;
width: 100%;
@media screen and (min-width: 768px) {
height: calc(var(--viewport-height) - #{$footer-height});
}
.section {
position: relative;
overflow: hidden;