receptty.org/sass/_tables.scss
Emil Miler e7302a5d09
All checks were successful
Build / build (push) Successful in 33s
Zrušit top padding u nadpisu ingrediencí
2024-05-10 20:59:17 +02:00

40 lines
521 B
SCSS

table {
clear: both;
thead {
display: flex;
flex-direction: column;
th {
width: 100%;
padding: 0 .5em .5em .5em;
font-size: 1.5em;
}
th:nth-child(2) {
padding: 0;
}
}
tbody {
display: flex;
flex-direction: column;
background-color: $secondary;
border: 1px solid $border;
border-radius: .25rem;
padding: 1em .7em;
tr {
width: 100%;
display: flex;
justify-content: space-between;
}
td {
padding: .65em .8em;
}
td:nth-child(2) { text-align: right }
}
}