Skip to content

Commit

Permalink
Align problem table headers the same as rows
Browse files Browse the repository at this point in the history
Refs #2159.
  • Loading branch information
Xyene authored Feb 6, 2023
1 parent d338459 commit 3d7d8bf
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions resources/problem.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "vars";

#problem-table {
td {
td, th {
&.category {
text-align: left;
padding: 0 1em;
Expand Down Expand Up @@ -32,10 +32,17 @@

&.ac-rate {
white-space: nowrap;
padding: 4px 10px;
}

&.points {
white-space: nowrap;
padding: 4px 10px;
}

&.editorial {
white-space: nowrap;
padding: 4px 10px;
}
}

Expand Down Expand Up @@ -324,12 +331,6 @@ ul.problem-list {
}
}

#problem-table th a {
color: inherit;
display: block;
padding: 4px 10px;
}

#category, #types {
visibility: hidden;
}
Expand Down

0 comments on commit 3d7d8bf

Please sign in to comment.