Skip to content

Commit 05be410

Browse files
authored
Refactor AI content areas for better layout handling
1 parent 9b29a25 commit 05be410

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

src/style.scss

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,15 @@
4646

4747
.ai-content {
4848
flex: 1;
49-
overflow: hidden;
49+
min-height: 0;
50+
display: flex;
51+
flex-direction: column;
5052
position: relative;
53+
overflow: hidden;
5154

5255
.ai-chat-area {
53-
height: 100%;
56+
flex: 1;
57+
min-height: 0;
5458
padding: 15px;
5559
overflow-y: auto;
5660
display: flex;
@@ -104,6 +108,7 @@
104108
padding: 10px;
105109
overflow-x: auto;
106110
margin: 5px 0;
111+
position: relative;
107112

108113
code {
109114
font-family: 'Courier New', monospace;
@@ -164,7 +169,8 @@
164169
}
165170

166171
.ai-history-area {
167-
height: 100%;
172+
flex: 1;
173+
min-height: 0;
168174
padding: 15px;
169175
overflow-y: auto;
170176

@@ -203,7 +209,8 @@
203209
}
204210

205211
.ai-settings-area {
206-
height: 100%;
212+
flex: 1;
213+
min-height: 0;
207214
padding: 15px;
208215
overflow-y: auto;
209216

@@ -393,4 +400,4 @@
393400
}
394401
}
395402
}
396-
}
403+
}

0 commit comments

Comments
 (0)