mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Set home, chat page height so footer, header visible w/o scroll on phone
Set dynamic view height of page to 100%
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
div.main {
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
color: hsla(var(--foreground));
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@ div.inputBox {
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 16px;
|
||||
margin-bottom: 20px;
|
||||
gap: 12px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
@@ -86,13 +85,11 @@ div.homeGreetings {
|
||||
grid-template-rows: 1fr 2fr;
|
||||
}
|
||||
|
||||
|
||||
div.sidePanel {
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
div.inputBox {
|
||||
margin-bottom: 0px;
|
||||
@@ -123,6 +120,6 @@ div.sidePanel {
|
||||
}
|
||||
|
||||
div.homeGreetings {
|
||||
grid-template-rows: auto;
|
||||
grid-template-rows: auto 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user