add initial bottom bar

+ use a hacky grid to position bottom bar for chrome compatibility
This commit is contained in:
geoffrey45
2022-09-25 16:15:23 +03:00
committed by Mungai Njoroge
parent d5bf60f93d
commit 56749ddfd9
6 changed files with 174 additions and 72 deletions
+7 -9
View File
@@ -1,20 +1,17 @@
#app-grid {
display: grid;
grid-template-columns: min-content 1fr 29rem;
grid-template-rows: 42px 1fr max-content;
grid-template-rows: 43px calc(100vh - (8.5rem + 13px)) max-content;
grid-template-areas:
"l-sidebar nav search-input"
"l-sidebar content r-sidebar"
"l-sidebar content r-sidebar"
"bottombar bottombar bottombar";
height: calc(100vh);
height: 100%;
gap: 1rem;
padding: $small 0;
margin: 0 auto;
margin-top: -$small;
max-width: 1720px;
// padding-right: $medium;
// border-right: solid 1px $gray4;
padding-top: $small;
}
@@ -34,7 +31,6 @@
grid-template-areas:
"l-sidebar nav"
"l-sidebar content"
"l-sidebar content"
"l-sidebar content";
}
@@ -43,7 +39,6 @@
grid-template-areas:
"l-sidebar nav"
"l-sidebar content"
"l-sidebar content"
"l-sidebar bottombar";
}
}
@@ -53,15 +48,17 @@
grid-template-areas:
"l-sidebar nav"
"l-sidebar content"
"l-sidebar content"
"l-sidebar content";
}
#acontent {
grid-area: content;
overflow: hidden auto;
// overflow: hidden;
margin-right: calc(0rem - ($medium + 2px));
padding-right: calc($medium);
height: 100%;
// outline: solid;
// margin-top: -$small;
.nav {
margin: $small;
@@ -92,6 +89,7 @@
}
#gsearch-input {
// display: none !important;
grid-area: search-input;
}
+1
View File
@@ -34,6 +34,7 @@ body {
#app {
width: 100%;
height: 100%;
margin: 0 auto;
}
+1 -1
View File
@@ -10,6 +10,6 @@
@font-face {
font-family: "SFCompactDisplay";
src: url("../googlesans.ttf");
src: url("../sf-compact.woff") format("woff");
}