Skip to content

Commit 2d47ed8

Browse files
authored
Style: Right-align resolved column (#28)
1 parent ded2538 commit 2d47ed8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

css/components.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,35 @@ button:focus,
219219
white-space: nowrap;
220220
}
221221

222+
/* Right-align % Resolved columns in main leaderboard tables */
223+
.data-table th:nth-child(2),
224+
.data-table td:nth-child(2) {
225+
text-align: right;
226+
}
227+
228+
/* Right-align percentage columns in results tables (viewer page) */
229+
.table-results th:nth-child(4),
230+
.table-results td:nth-child(4) {
231+
text-align: right;
232+
}
233+
234+
/* Right-align resolution rate columns in multilingual tables */
235+
.table th:last-child,
236+
.table td:last-child {
237+
text-align: right;
238+
}
239+
240+
/* Override for columns that should be centered */
241+
.table th:last-child.centered-text,
242+
.table td:last-child.centered-text {
243+
text-align: center !important;
244+
}
245+
246+
/* Centered text columns (for logs, trajs, site columns) */
247+
.centered-text {
248+
text-align: center !important;
249+
}
250+
222251
/* Sticky header styles - consolidated */
223252
.scrollable thead th,
224253
.table-responsive thead th {

0 commit comments

Comments
 (0)