final commit

This commit is contained in:
idittrich-valueon 2025-06-16 17:12:14 +02:00
parent 98fbd5f6d0
commit 8f557efaa7
5 changed files with 20 additions and 14 deletions

View file

@ -26,9 +26,9 @@
.logoContainer { .logoContainer {
display: flex; display: flex;
width: 200px; width: 100%;
height: 60px; height: auto;
padding: 13px 20px 7px 20px; padding: 30px 20px 7px 20px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-shrink: 0; flex-shrink: 0;

View file

@ -49,7 +49,7 @@ const useSidebarData = () => {
}, },
{ {
id: '7', id: '7',
name: 'Settings', name: 'Einstellungen',
link: '/einstellungen', link: '/einstellungen',
icon: GoGear, icon: GoGear,
}, },

View file

@ -4,12 +4,16 @@
flex-direction: column; flex-direction: column;
gap: 20px; gap: 20px;
font-family: var(--font-family); font-family: var(--font-family);
width: 98%;
max-height: calc(100vh - 100px);
} }
.chatLogContainer { .chatLogContainer {
display: flex; display: flex;
gap: 20px; gap: 20px;
transition: all 0.3s ease; transition: all 0.3s ease;
} }
.chatLogContainer.expanded { .chatLogContainer.expanded {
@ -27,15 +31,15 @@
} }
.chatArea45vh { .chatArea45vh {
height: 45vh;
}
.chatArea60vh {
height: 60vh; height: 60vh;
} }
.chatArea60vh {
height: 85vh;
}
.logArea15vh { .logArea15vh {
height: 15vh; height: 10vh;
} }
.logArea25vh { .logArea25vh {
@ -47,7 +51,7 @@
} }
.logArea60vh { .logArea60vh {
height: 60vh; height: 85vh;
} }
.promptArea30vh { .promptArea30vh {

View file

@ -63,13 +63,13 @@ function Dashboard () {
// Memoize style objects to prevent infinite re-renders // Memoize style objects to prevent infinite re-renders
const promptStyle = useMemo(() => ({ const promptStyle = useMemo(() => ({
marginBottom: !isPromptAreaCollapsed ? "40px" : "0" marginBottom: !isPromptAreaCollapsed ? "0px" : "0"
}), [isPromptAreaCollapsed]); }), [isPromptAreaCollapsed]);
const chatStyle = useMemo(() => ({ const chatStyle = useMemo(() => ({
width: isChatExpanded ? "100%" : "calc(50% - 10px)", width: isChatExpanded ? "100%" : "calc(50% - 10px)",
flex: isChatExpanded ? "none" : "1", flex: isChatExpanded ? "none" : "1",
marginBottom: isChatExpanded ? "40px" : "0" marginBottom: isChatExpanded ? "0px" : "0"
}), [isChatExpanded]); }), [isChatExpanded]);
const logStyle = useMemo(() => ({ const logStyle = useMemo(() => ({

View file

@ -3,15 +3,17 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-self: stretch; align-self: stretch;
justify-content: top;
max-height: calc(100vh - 100px); max-height: calc(100vh - 100px);
overflow: hidden; overflow: hidden;
font-family: var(--font-family); font-family: var(--font-family);
width: 98%;
} }
.contentWrapper { .contentWrapper {
flex: 1; flex: 1;
overflow-y: auto; overflow-y: auto;
padding: 20px 0; padding: 0px 0;
} }
.settingsCard { .settingsCard {
@ -23,7 +25,7 @@
background: var(--color-bg); background: var(--color-bg);
position: relative; position: relative;
box-shadow: 0px 2px 6px 0px rgba(194, 194, 194, 0.10); box-shadow: 0px 2px 6px 0px rgba(194, 194, 194, 0.10);
max-width: 800px; width: 100%;
margin: 0 auto; margin: 0 auto;
gap: 30px; gap: 30px;
} }