Skip to content

Commit

Permalink
Fix display of version identifiers
Browse files Browse the repository at this point in the history
The prior commit removed a surrounding `<tbody>` element around each version row component which caused a CSS rule preventing display of multiple `<th>` elements in the same table. We want this CSS behavior to prevent repetitive metadata label display. The fix here is to fine-tune the CSS rule such that it ignores the version identifier table header element.
  • Loading branch information
mjgiarlo committed Aug 15, 2024
1 parent 3a2f3d6 commit a2edbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}

tbody {
tr:not(:first-of-type) th {
tr:not(:first-of-type) th:not(.version-identifier) {
/* Visibility hidden doesn't work here because it also hides the border */
font-size: 0;
}
Expand Down

0 comments on commit a2edbef

Please sign in to comment.