From c2fdcbd0851aa99a7ba1f6d5f823561327a3ec2c Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 20 May 2025 20:06:06 +0200 Subject: [PATCH] chore(style): set aspect-ratio on .tile instead of #grid --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index ed7581e..4f9ff4a 100644 --- a/style.css +++ b/style.css @@ -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;