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.
This commit is contained in:
Andreas Gohr 2021-11-27 18:52:09 +01:00
parent b9a4556d52
commit b43eeadb4d
1 changed files with 5 additions and 0 deletions

View File

@ -70,3 +70,8 @@ em em.u {
img.icon.smiley {
height: 1.2em;
}
svg {
width: auto;
height: 1.2em;
}