Maintain aspect ratio correctly by using flexbox, as we depend on it already

This commit is contained in:
Juhani Krekelä 2021-01-10 17:15:15 +02:00
parent b5dcd4d5f9
commit 56d64c813e
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@
font-size: 200%;
}
td div {
display: table-cell;
text-align: center;
vertical-align: middle;
display: flex;
justify-content: center;
align-items: center;
}
#board tbody :nth-child(odd) :nth-child(even) {
background-color: #fff;