Maintain aspect ratio correctly by using flexbox, as we depend on it already
This commit is contained in:
parent
b5dcd4d5f9
commit
56d64c813e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue