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
|
|
@ -1,3 +1,28 @@
|
|||
.table {
|
||||
display: grid;
|
||||
grid-gap: 6px 16px;
|
||||
align-items: center;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
background-color: #333;
|
||||
padding: 16px 24px;
|
||||
width: min-content;
|
||||
border-top-left-radius: 8px;
|
||||
border-top-right-radius: 8px;
|
||||
}
|
||||
.table .row {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.table > div {
|
||||
white-space: nowrap;
|
||||
line-height: 24px;
|
||||
}
|
||||
.table .header {
|
||||
font-size: 0.85em;
|
||||
font-weight: bold;
|
||||
color: #777;
|
||||
line-height: unset !important;
|
||||
}
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue