Improve component rendering styles
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
30
assets/sass/table.scss
Normal file
30
assets/sass/table.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
.table-wrapper {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
||||
thead th {
|
||||
border-bottom: 0.1rem solid
|
||||
color-mix(in srgb, var(--text) 20%, var(--background));
|
||||
}
|
||||
|
||||
tr + tr td {
|
||||
border-top: 0.1rem solid
|
||||
color-mix(in srgb, var(--text) 10%, var(--background));
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 0.5rem;
|
||||
border-right: 0.1rem solid
|
||||
color-mix(in srgb, var(--text) 10%, var(--background));
|
||||
}
|
||||
|
||||
th:last-child,
|
||||
td:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user