webapp: align table headers with card headers

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.
This commit is contained in:
Bernhard Kirchen 2024-10-26 21:15:22 +02:00
parent 6721352220
commit d5024436b7

View File

@ -27,6 +27,14 @@ div.card.card-table {
overflow: hidden; 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 { div.card.card-table div.card-body {
padding: 0; padding: 0;
} }