Spaces:
Sleeping
Sleeping
fix the input text window moving up
Browse files- web/src/App.css +4 -0
web/src/App.css
CHANGED
|
@@ -304,6 +304,7 @@ body {
|
|
| 304 |
flex: 1;
|
| 305 |
display: flex;
|
| 306 |
flex-direction: column;
|
|
|
|
| 307 |
overflow: hidden;
|
| 308 |
background: #1a1614;
|
| 309 |
min-height: 0; /* Critical: allows flex children to shrink */
|
|
@@ -724,6 +725,9 @@ details.tool-section[open] summary::before {
|
|
| 724 |
gap: 1rem;
|
| 725 |
box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
|
| 726 |
flex-shrink: 0; /* Prevent input from shrinking */
|
|
|
|
|
|
|
|
|
|
| 727 |
}
|
| 728 |
|
| 729 |
.input-container textarea {
|
|
|
|
| 304 |
flex: 1;
|
| 305 |
display: flex;
|
| 306 |
flex-direction: column;
|
| 307 |
+
height: calc(100vh - 60px); /* Subtract header height */
|
| 308 |
overflow: hidden;
|
| 309 |
background: #1a1614;
|
| 310 |
min-height: 0; /* Critical: allows flex children to shrink */
|
|
|
|
| 725 |
gap: 1rem;
|
| 726 |
box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
|
| 727 |
flex-shrink: 0; /* Prevent input from shrinking */
|
| 728 |
+
position: sticky;
|
| 729 |
+
bottom: 0;
|
| 730 |
+
z-index: 10;
|
| 731 |
}
|
| 732 |
|
| 733 |
.input-container textarea {
|