diff --git a/app/components/Header.tsx b/app/components/Header.tsx index 0445db4..5b74d00 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -40,9 +40,9 @@ const Header: React.FC = ({ onViewChange, showDivs, toggleDivs, sho )} -
+
+
diff --git a/app/page.tsx b/app/page.tsx index aad4bee..0f74ba5 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -53,6 +53,7 @@ const LandingPage: React.FC = () => { return ( <> +
{ showHistoryModelsToggle={true} showToggle={view === 'AI'} // Pass the condition here /> -
{showDivs && (
diff --git a/app/styles/container.css b/app/styles/container.css index 89e03fa..53c90a0 100644 --- a/app/styles/container.css +++ b/app/styles/container.css @@ -2,8 +2,10 @@ .container, .content { display: flex; + height: 100vh; width: 100vw; - padding-top: 0.025vh; + overflow: hidden; + position: relative; /* Ensure relative positioning for proper transitions */ } .left-panel { @@ -28,7 +30,6 @@ transition: margin-left 0.3s ease; /* Smooth margin adjustment */ background-color: var(--conversation-background-color); /* Use variable for background color */ border-radius: 1em 0 0 0; - height: min-content; } /* Adjust margin-left when panel is shown or hidden */ @@ -38,5 +39,4 @@ .conversation-container.collapsed { margin-left: 1vw; /* Space for the left panel */ - bottom: 0; } diff --git a/app/styles/global.css b/app/styles/global.css index 8a4eae2..00a246b 100644 --- a/app/styles/global.css +++ b/app/styles/global.css @@ -1,11 +1,12 @@ html, body { height: 100vh; - /* overflow: hidden; */ + overflow: hidden; position: relative; } body { + margin-top: 2em; display: flex; justify-content: center; align-items: center; @@ -13,6 +14,7 @@ body { color: var(--text-color); font-family: var(--font-family); font-size: var(--font-size); + margin-bottom: 0.5em; } @@ -22,10 +24,6 @@ header { padding: 1rem; /* Adjust padding as needed */ } -main{ - height: 100%; -} - button { background-color: var(--button-background-color); color: var(--text-color); diff --git a/app/styles/header.css b/app/styles/header.css index 5e84cc5..4e5c2f0 100644 --- a/app/styles/header.css +++ b/app/styles/header.css @@ -4,7 +4,7 @@ header{ top: 0; left: 0; width: 100%; - height: 10vh; + height: 5em; display: flex; align-items: center; font-size: 1em; @@ -40,10 +40,10 @@ header{ .nav-links{ position: absolute; display: flex; - top: 2vh; + top: 1em; gap: 1em; width: 25em; - height: 2em; + height: 3em; } .nav-btn{ @@ -65,9 +65,9 @@ header{ } .login-button .header-login-button{ - font-size: 2vh; + font-size: 1em; position: absolute; - top: 1.5vh; + top: 1.5em; right: 1vw; padding: 10px 20px; background-color: var(--input-button-color); diff --git a/app/styles/output.css b/app/styles/output.css index 255715f..15eadae 100644 --- a/app/styles/output.css +++ b/app/styles/output.css @@ -6,7 +6,6 @@ background-color: var(--output-background-color); padding: 1em; margin: 1em; - margin-top: 0; display: flex; flex-direction: column; justify-content: flex-start; @@ -73,7 +72,4 @@ #copiedText{ margin-top: 1em; - cursor:default; - pointer-events: none; - user-select: none; }