chore(style): set aspect-ratio on .tile instead of #grid
This commit is contained in:
parent
17e319990c
commit
c2fdcbd085
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue