This commit is contained in:
Angelos Chalaris 2018-10-27 10:09:01 +03:00
parent a99befe0fa
commit 5d8930461f

View file

@ -165,13 +165,14 @@ table {
border: 0; border: 0;
thead, tbody { thead, tbody {
border: 0; border: 0;
flex: .2 0 0;
flex-flow: row nowrap; flex-flow: row nowrap;
} }
tbody { tbody {
overflow: auto; overflow: auto;
justify-content: space-between; justify-content: space-between;
flex: 1 0 0; flex: .8 0 0;
margin-left: calc( 4 * var(#{$universal-margin-var})); margin-left: 0;
padding-bottom: calc(var(#{$universal-padding-var}) / 4); padding-bottom: calc(var(#{$universal-padding-var}) / 4);
} }
tr { tr {
@ -179,7 +180,7 @@ table {
flex: 1 0 auto; flex: 1 0 auto;
} }
th, td { th, td {
width: 100%; width: auto;
border: 0; border: 0;
border-bottom: $__1px solid var(#{$table-border-color-var}); border-bottom: $__1px solid var(#{$table-border-color-var});
&:not(:first-child){ &:not(:first-child){