Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit bd6ff41

Browse files
Mihai - Alexandru ChindrișMihai - Alexandru Chindriș
authored andcommitted
ui: force compact upload table layout without horizontal scroll
1 parent 6e6facf commit bd6ff41

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/web/static/style.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,24 @@ nav { background: #1a1a2e; color: white; padding: 1rem 0; }
106106
overflow-wrap: anywhere;
107107
}
108108

109+
/* Fallback: compact upload table even without compact-table class */
110+
.predictions-results .table-container {
111+
overflow-x: hidden;
112+
}
113+
114+
.predictions-results .table {
115+
table-layout: fixed;
116+
}
117+
118+
.predictions-results .table th,
119+
.predictions-results .table td {
120+
padding: 0.35rem 0.4rem;
121+
font-size: 0.68rem;
122+
line-height: 1.2;
123+
white-space: normal;
124+
overflow-wrap: anywhere;
125+
}
126+
109127
/* Predictions */
110128
.predictions-results { margin-top: 2rem; background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
111129

0 commit comments

Comments
 (0)