Nová struktura tabulek s ingrediencemi

This commit is contained in:
Emil Miler 2022-01-19 20:18:00 +01:00
parent 08134780ed
commit fec74d640d

View File

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