Skip to content

Commit 1732ebe

Browse files
committed
refactoring stations list page
1 parent 5a71b70 commit 1732ebe

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

web/src/pages/Stations.css

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,21 @@
8686

8787
.stations-table {
8888
width: 100%;
89+
min-width: 900px;
8990
border-collapse: collapse;
9091
font-size: var(--text-sm);
9192
table-layout: fixed;
9293
}
9394

94-
/* Column widths via colgroup */
95-
.stations-table col.col-expand { width: 44px; }
96-
.stations-table col.col-name { width: 140px; }
97-
.stations-table col.col-id { width: 140px; }
98-
.stations-table col.col-status { width: 140px; }
99-
.stations-table col.col-protocol { width: 100px; }
100-
.stations-table col.col-vendor { width: 180px; }
101-
.stations-table col.col-connectors { width: 100px; }
102-
.stations-table col.col-actions { width: 120px; }
95+
/* Column widths via colgroup - must total 100% */
96+
.stations-table col.col-expand { width: 4%; }
97+
.stations-table col.col-name { width: 14%; }
98+
.stations-table col.col-id { width: 14%; }
99+
.stations-table col.col-status { width: 14%; }
100+
.stations-table col.col-protocol { width: 10%; }
101+
.stations-table col.col-vendor { width: 18%; }
102+
.stations-table col.col-connectors { width: 10%; }
103+
.stations-table col.col-actions { width: 16%; }
103104

104105
.stations-table th,
105106
.stations-table td {

0 commit comments

Comments
 (0)