mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 05:39:13 +00:00
Have the home and chat page take full height, reduce greeting top space
This commit is contained in:
@@ -98,17 +98,6 @@ div.agentIndicator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
div.chatBody {
|
|
||||||
grid-template-columns: 0fr 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.chatBox {
|
|
||||||
padding: 0;
|
|
||||||
height: min-content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
div.inputBox {
|
div.inputBox {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
@@ -118,9 +107,13 @@ div.agentIndicator {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.chatBody {
|
||||||
|
grid-template-columns: 0fr 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
div.chatBox {
|
div.chatBox {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: min-content;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.chatLayout {
|
div.chatLayout {
|
||||||
|
|||||||
@@ -89,26 +89,19 @@ div.homeGreetings {
|
|||||||
|
|
||||||
div.sidePanel {
|
div.sidePanel {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
height: 100%;
|
height: max-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
div.chatBody {
|
|
||||||
grid-template-columns: 0fr 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.chatBox {
|
|
||||||
padding: 0;
|
|
||||||
height: min-content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
div.inputBox {
|
div.inputBox {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.chatBody {
|
||||||
|
grid-template-columns: 0fr 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
div.chatBoxBody {
|
div.chatBoxBody {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
grid-template-rows: auto;
|
grid-template-rows: auto;
|
||||||
@@ -120,12 +113,13 @@ div.sidePanel {
|
|||||||
|
|
||||||
div.chatBox {
|
div.chatBox {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: min-content;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.chatLayout {
|
div.chatLayout {
|
||||||
gap: 0;
|
gap: 0;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
|
grid-template-rows: auto 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.homeGreetings {
|
div.homeGreetings {
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ function ChatBodyData(props: ChatBodyDataProps) {
|
|||||||
}
|
}
|
||||||
<div className={`w-full text-center justify-end content-end`}>
|
<div className={`w-full text-center justify-end content-end`}>
|
||||||
<div className="items-center">
|
<div className="items-center">
|
||||||
<h1 className="text-center w-fit pb-6 px-4 mx-auto">{greeting}</h1>
|
<h1 className="text-2xl text-center w-fit pb-6 px-4 mx-auto">{greeting}</h1>
|
||||||
</div>
|
</div>
|
||||||
{
|
{
|
||||||
!props.isMobileWidth &&
|
!props.isMobileWidth &&
|
||||||
|
|||||||
Reference in New Issue
Block a user