From 680c27ae2e0dbd1c629d142bfcd88b6290d529cf Mon Sep 17 00:00:00 2001 From: Shannon Lockett <155769623+shazzar00ni@users.noreply.github.com> Date: Fri, 24 Apr 2026 01:07:33 +0800 Subject: [PATCH] fix: prevent SVG icons from becoming excessively large by adding protective max-width and height rules --- src/index.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.css b/src/index.css index 093e9a60..3a372e7f 100644 --- a/src/index.css +++ b/src/index.css @@ -14,6 +14,12 @@ .dark body { @apply bg-dark-950 text-dark-100; } + + /* Prevent SVGs from becoming excessively large if utility classes are lost */ + svg { + max-width: 100%; + height: auto; + } } @layer utilities {