Fix board sizing to fill available width instead of being height-constrained
This commit is contained in:
@@ -227,16 +227,15 @@ label span,
|
||||
|
||||
.board {
|
||||
position: relative;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
aspect-ratio: var(--board-columns) / var(--board-rows);
|
||||
display: grid;
|
||||
gap: 0.15rem;
|
||||
margin: 0 auto;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.board__lines {
|
||||
|
||||
Reference in New Issue
Block a user