feat: Add table styles
- Add variant to fit cells to their content - Add variant with horizontal borders only
This commit is contained in:
parent
b42c8cdd7e
commit
43f66d8178
2 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue