chore(style): set aspect-ratio on .tile instead of #grid

This commit is contained in:
Luca 2025-05-20 20:06:06 +02:00
parent 17e319990c
commit c2fdcbd085
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,6 @@ body {
}
#grid {
aspect-ratio: 1 / 1;
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(5, 1fr);
@ -23,6 +22,7 @@ body {
.tile {
--border-width: 1px;
align-content: center;
aspect-ratio: 1 / 1;
border-color: #000;
border-style: solid;
border-width: 0 var(--border-width) var(--border-width) 0;