Skip to content

Commit

Permalink
webapp: align table headers with card headers
Browse files Browse the repository at this point in the history
set the left margin of table header cells to the same marging the card
header use, such that the text align on the same axis.
  • Loading branch information
schlimmchen authored and tbnobody committed Nov 1, 2024
1 parent e6a994f commit ad73fd8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webapp/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ div.card.card-table {
overflow: hidden;
}

div.card.card-table tr > :first-child {
padding-left: var(--bs-card-cap-padding-x);
}

div.card.card-table tr > :last-child {
padding-right: var(--bs-card-cap-padding-x);
}

div.card.card-table div.card-body {
padding: 0;
}

0 comments on commit ad73fd8

Please sign in to comment.