feat: Add table styles

- Add variant to fit cells to their content
- Add variant with horizontal borders only
This commit is contained in:
sthag 2026-03-17 01:13:08 +01:00
parent b42c8cdd7e
commit 43f66d8178
2 changed files with 14 additions and 0 deletions

View file

@ -39,6 +39,10 @@ table {
border: config.$width_border_basic solid transparent;
}
&.horizontal td {
border-inline: config.$width_border_basic solid transparent;
}
&.striped {
td {
border-top: 0;
@ -110,6 +114,12 @@ table {
}
}
}
&.content {
thead th:not(.max) {
width: 1%;
}
}
}
// Caption