Refactored table CSS, bettered layout in problems
This commit is contained in:
parent
1215b13d47
commit
2c5b434fd2
15 changed files with 379 additions and 146 deletions
31
static/less/table.less
Normal file
31
static/less/table.less
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
@import "theme-@{THEME}.less";
|
||||
|
||||
.table {
|
||||
display: grid;
|
||||
grid-gap: 6px 16px;
|
||||
align-items: center;
|
||||
|
||||
.row {
|
||||
grid-column: ~"1 / -1";
|
||||
}
|
||||
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
background-color: @bg3;
|
||||
padding: 16px 24px;
|
||||
width: min-content;
|
||||
border-top-left-radius: 8px;
|
||||
border-top-right-radius: 8px;
|
||||
|
||||
& > div {
|
||||
white-space: nowrap;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 0.85em;
|
||||
font-weight: bold;
|
||||
color: @text3;
|
||||
line-height: unset !important;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue