Skip to content

Commit 6c6efe0

Browse files
committed
Enh(viewer): table style fix
1 parent 46ee259 commit 6c6efe0

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

codeclash/viewer/static/css/style.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,7 @@ body {
253253
border-bottom: none;
254254
}
255255

256-
.results-table tr:hover {
257-
background-color: var(--bg-primary);
258-
}
256+
/* Removed conflicting hover rule - Bootstrap handles table hover states */
259257

260258
.winner-badge {
261259
display: inline-block;
@@ -438,9 +436,6 @@ details summary {
438436
}
439437

440438
/* Special foldout types */
441-
.round-foldout {
442-
/* Removed distracting blue border */
443-
}
444439

445440
.trajectory-foldout {
446441
/* Removed distracting green border */
@@ -825,7 +820,9 @@ details summary {
825820
--bs-table-bg: var(--bg-primary);
826821
--bs-table-border-color: var(--border-color);
827822
--bs-table-striped-bg: var(--bg-secondary);
823+
--bs-table-striped-color: var(--text-primary);
828824
--bs-table-hover-bg: var(--bg-tertiary);
825+
--bs-table-hover-color: var(--text-primary);
829826
}
830827

831828
.form-control {
@@ -1309,10 +1306,12 @@ summary:focus {
13091306
}
13101307
}
13111308

1312-
/* Make table rows clickable-looking on hover */
1313-
.results-table tbody tr:hover {
1314-
background-color: var(--bg-secondary);
1315-
cursor: default;
1309+
/* Bootstrap table hover styles are used instead of custom ones */
1310+
1311+
/* Ensure text visibility in all table states */
1312+
.results-table td,
1313+
.results-table th {
1314+
color: var(--text-primary) !important;
13161315
}
13171316

13181317
.results-table tbody tr:hover .nav-to-round-btn {

0 commit comments

Comments
 (0)