Fix positioning of the trophy icons
authorMarcel Werk <burntime@woltlab.com>
Fri, 11 Aug 2023 12:54:30 +0000 (14:54 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 11 Aug 2023 12:54:30 +0000 (14:54 +0200)
They were affected by the special positioning of icons within `.box` classes.

wcfsetup/install/files/style/ui/trophy.scss

index 04656a3ebe24830399193aaaa9c5d427721fb477..a8d7635979b0bba5cf5b24d70fb37a7e28a2bd84 100644 (file)
        fa-icon {
                transform: scale(0.5625);
                width: var(--icon-size);
+
+               /*
+                       We need to override the positioning by the .box classes here
+                       to prevent the icon from being moved too far to the left.
+               */
+               position: static !important;
        }
 }