Allow icons to be framed
authorMaximilian Mader <maximilian.mader@gmx.de>
Fri, 12 Jul 2013 19:11:17 +0000 (21:11 +0200)
committerMaximilian Mader <maximilian.mader@gmx.de>
Fri, 12 Jul 2013 19:11:17 +0000 (21:11 +0200)
Since icons are images too it should be possible to use them with the `.framed` class.

wcfsetup/install/files/style/global.less

index cf34976991c6b071a9faf137f0944a61800af361..cd7e244e715e0b9c2d8a785ed57ce282d47ca8b8 100644 (file)
@@ -136,7 +136,8 @@ body > iframe[src="about:blank"] {
 
 .framed {
        > canvas,
-       > img {
+       > img,
+       > .icon {
                background-color: @wcfContentBackgroundColor;
                border: 1px solid @wcfContainerBorderColor;
                padding: 1px;