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
|
||||
|
|
|
|||
|
|
@ -84,6 +84,10 @@ footer {
|
|||
}
|
||||
|
||||
table {
|
||||
td > textarea {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.io nav {
|
||||
@extend %flex_inline;
|
||||
flex-wrap: nowrap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue