Spaces:
Running
Running
owenkaplinsky commited on
Commit ·
d759f05
1
Parent(s): a7bfb03
Remove code visually
Browse files- project/src/index.css +17 -2
project/src/index.css
CHANGED
|
@@ -234,7 +234,7 @@ body {
|
|
| 234 |
#chatContainer {
|
| 235 |
background: #2c2c2c;
|
| 236 |
border: none;
|
| 237 |
-
flex:
|
| 238 |
box-sizing: border-box;
|
| 239 |
border-radius: 6px;
|
| 240 |
overflow: hidden;
|
|
@@ -260,7 +260,21 @@ body {
|
|
| 260 |
}
|
| 261 |
|
| 262 |
/* Style the code area with matching margin and contrast */
|
| 263 |
-
#generatedCode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
#aichatCode {
|
| 265 |
background: #1f1f1f;
|
| 266 |
color: #e0e7ff;
|
|
@@ -277,6 +291,7 @@ body {
|
|
| 277 |
|
| 278 |
/* --- Vertical Resizer --- */
|
| 279 |
.verticalResizer {
|
|
|
|
| 280 |
height: 8px;
|
| 281 |
background: #e5e7eb;
|
| 282 |
cursor: row-resize;
|
|
|
|
| 234 |
#chatContainer {
|
| 235 |
background: #2c2c2c;
|
| 236 |
border: none;
|
| 237 |
+
flex: 1;
|
| 238 |
box-sizing: border-box;
|
| 239 |
border-radius: 6px;
|
| 240 |
overflow: hidden;
|
|
|
|
| 260 |
}
|
| 261 |
|
| 262 |
/* Style the code area with matching margin and contrast */
|
| 263 |
+
#generatedCode {
|
| 264 |
+
display: none;
|
| 265 |
+
background: #1f1f1f;
|
| 266 |
+
color: #e0e7ff;
|
| 267 |
+
border-radius: 6px;
|
| 268 |
+
padding: 16px;
|
| 269 |
+
box-sizing: border-box;
|
| 270 |
+
flex: 1;
|
| 271 |
+
overflow-y: auto;
|
| 272 |
+
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
|
| 273 |
+
white-space: pre-wrap;
|
| 274 |
+
font-size: 13px;
|
| 275 |
+
line-height: 1.5;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
#aichatCode {
|
| 279 |
background: #1f1f1f;
|
| 280 |
color: #e0e7ff;
|
|
|
|
| 291 |
|
| 292 |
/* --- Vertical Resizer --- */
|
| 293 |
.verticalResizer {
|
| 294 |
+
display: none;
|
| 295 |
height: 8px;
|
| 296 |
background: #e5e7eb;
|
| 297 |
cursor: row-resize;
|