diff --git a/src/khoj/interface/web/agent.html b/src/khoj/interface/web/agent.html
index 37294254..89ffe279 100644
--- a/src/khoj/interface/web/agent.html
+++ b/src/khoj/interface/web/agent.html
@@ -58,6 +58,7 @@
line-height: 1.5em;
height: 100vh;
margin: 0;
+ grid-template-rows: auto 1fr auto;
}
div#agent-settings-header {
@@ -242,7 +243,6 @@
@media only screen and (min-width: 700px) {
body {
grid-template-columns: auto min(70vw, 100%) auto;
- grid-template-rows: auto auto auto;
}
body > * {
grid-column: 2;
diff --git a/src/khoj/interface/web/agents.html b/src/khoj/interface/web/agents.html
index 6c3ae084..316e76d1 100644
--- a/src/khoj/interface/web/agents.html
+++ b/src/khoj/interface/web/agents.html
@@ -61,7 +61,7 @@
line-height: 1.5em;
height: 100vh;
margin: 0;
- grid-template-rows: auto auto auto;
+ grid-template-rows: auto 1fr auto;
}
h1#agents-list-title {