Spaces:
Paused
Paused
Commit
·
58773f4
1
Parent(s):
459fae5
scrolling
Browse files
streaming-react-app/src/StreamingInterface.css
CHANGED
@@ -16,7 +16,9 @@
|
|
16 |
border-radius: 8px;
|
17 |
box-shadow: 0px 24px 30px rgba(0, 0, 0, 0.3);
|
18 |
border: 1px solid rgba(0, 0, 0, 0.05);
|
19 |
-
overflow: hidden;
|
|
|
|
|
20 |
}
|
21 |
|
22 |
.top-section-sra {
|
@@ -54,3 +56,13 @@
|
|
54 |
.text-chunk-sra {
|
55 |
margin-bottom: 12px;
|
56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
border-radius: 8px;
|
17 |
box-shadow: 0px 24px 30px rgba(0, 0, 0, 0.3);
|
18 |
border: 1px solid rgba(0, 0, 0, 0.05);
|
19 |
+
/* overflow: hidden; */
|
20 |
+
overflow-y: auto; /* Ensure vertical scrollability */
|
21 |
+
max-height: 100vh; /* Constrain to viewport height */
|
22 |
}
|
23 |
|
24 |
.top-section-sra {
|
|
|
56 |
.text-chunk-sra {
|
57 |
margin-bottom: 12px;
|
58 |
}
|
59 |
+
|
60 |
+
body, html {
|
61 |
+
height: 100%;
|
62 |
+
overflow-x: hidden; /* Prevent horizontal scroll */
|
63 |
+
}
|
64 |
+
|
65 |
+
.container {
|
66 |
+
height: 100%;
|
67 |
+
overflow-y: auto; /* Enable vertical scroll */
|
68 |
+
}
|