table layout wip

This commit is contained in:
Mashy
2019-11-12 16:42:33 +10:00
parent 01fa0c5137
commit 66263be25f
2 changed files with 33 additions and 20 deletions
+22 -10
View File
@@ -36,8 +36,19 @@
grid-area: info;
font-size: 85%;
display: grid;
font-size: 85%;
grid-template-rows: 1fr 1fr;
grid-template-areas:
"item"
"combos";
// flex-flow: column;
// white-space: pre-wrap;
flex-direction: column;
.info-item {
margin: 0 0 1em 1em;
flex: 1;
margin: 0 0 0 1em;
}
}
@@ -59,13 +70,16 @@
}
}
.instance .info-item {
grid-area: item;
}
.instance .combos {
grid-area: combos;
margin: 0 0 0 1em;
margin: 0 0 1em 1em;
table {
tr {
svg {
height: 1em;
}
}
}
td.table-button {
padding:5px;
@@ -75,9 +89,7 @@
color: whitesmoke;
background-color: @gray-hover;
}
svg {
height: 1em;
}
}
}