From b43eeadb4da51fd5dbaa5a85a000c0619e1c3104 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 27 Nov 2021 18:52:09 +0100 Subject: [PATCH] set default size for embedded SVGs many templates fail to set proper sizes for admin icons etc. This will prevent SVGs from blowing up by default - of course templates should still overwrite this default. --- lib/styles/all.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/styles/all.css b/lib/styles/all.css index 01efce6d11..5a30dc5e48 100644 --- a/lib/styles/all.css +++ b/lib/styles/all.css @@ -70,3 +70,8 @@ em em.u { img.icon.smiley { height: 1.2em; } + +svg { + width: auto; + height: 1.2em; +}