fix pwa layout

This commit is contained in:
jxxghp
2023-07-01 17:29:44 +08:00
parent 2c8b6d334a
commit b6d3cdcc42
8 changed files with 32 additions and 22 deletions
+5 -3
View File
@@ -14,12 +14,13 @@ body,
min-height: 100%;
}
.layout-vertical-nav, .layout-navbar {
.layout-vertical-nav {
padding-top: env(safe-area-inset-top);
padding-bottom: env(safe-area-inset-bottom);
}
.layout-vertical-nav {
padding-bottom: env(safe-area-inset-bottom);
.navbar-content-container {
padding-top: env(safe-area-inset-top);
}
.layout-page-content {
@@ -29,6 +30,7 @@ body,
// TODO: Use grid gutter variable here
padding-block: 0.5rem;
padding-top: calc(env(safe-area-inset-top) + 70px);
}
.layout-footer {
+3 -2
View File
@@ -17,8 +17,9 @@
}
// ️ We created this placeholder even it is being used in just layout w/ vertical nav because in future we might apply style to both navbar & horizontal nav separately
%layout-navbar-sticky {
position: sticky;
%layout-navbar-fixed {
position: fixed;
top: 0;
inset-block-start: 0;
// will-change: transform;