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 {
|
#grid {
|
||||||
aspect-ratio: 1 / 1;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(5, 1fr);
|
grid-template-columns: repeat(5, 1fr);
|
||||||
grid-template-rows: repeat(5, 1fr);
|
grid-template-rows: repeat(5, 1fr);
|
||||||
|
@ -23,6 +22,7 @@ body {
|
||||||
.tile {
|
.tile {
|
||||||
--border-width: 1px;
|
--border-width: 1px;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
border-color: #000;
|
border-color: #000;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 var(--border-width) var(--border-width) 0;
|
border-width: 0 var(--border-width) var(--border-width) 0;
|
||||||
|
|
Loading…
Reference in New Issue