From d5655bf5bf6fd41c1628cff64879c963d527162f Mon Sep 17 00:00:00 2001
From: Sam Light <samlight1994@gmail.com>
Date: Mon, 30 Dec 2024 15:05:22 +0000
Subject: Removed width, height, x, y from sprite attributes

---
 src/SvgSpriteCompiler.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/SvgSpriteCompiler.php b/src/SvgSpriteCompiler.php
index b4ed89f..5c4e19b 100644
--- a/src/SvgSpriteCompiler.php
+++ b/src/SvgSpriteCompiler.php
@@ -64,7 +64,7 @@ class SvgSpriteCompiler
 
     private function createSymbol(string $name, DOMElement $svg): DOMElement
     {
-        $attributes = ['width', 'height', 'x', 'y', 'viewBox', 'preserveAspectRatio'];
+        $attributes = ['viewBox', 'preserveAspectRatio'];
         $symbol = $this->svg->createElement('symbol');
 
         $symbol->setAttribute('id', $name);
-- 
cgit v1.2.3