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;
|
border: config.$width_border_basic solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.horizontal td {
|
||||||
|
border-inline: config.$width_border_basic solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
&.striped {
|
&.striped {
|
||||||
td {
|
td {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
|
|
@ -110,6 +114,12 @@ table {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.content {
|
||||||
|
thead th:not(.max) {
|
||||||
|
width: 1%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Caption
|
// Caption
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,10 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
td > textarea {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.io nav {
|
.io nav {
|
||||||
@extend %flex_inline;
|
@extend %flex_inline;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue