Fixed positioning of buttons w/ background-image
authorAlexander Ebert <ebert@woltlab.com>
Sun, 21 Dec 2014 16:17:00 +0000 (17:17 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 21 Dec 2014 16:17:00 +0000 (17:17 +0100)
wcfsetup/install/files/style/redactor.less

index 4ca8d116e7ac239a7836f4e345c4eb1721a9f9af..623e9c6ac367f511edd27934094b8a640bca6b2d 100644 (file)
        
        > li {
                display: inline-block;
+               vertical-align: middle;
                
                &:last-of-type,
                &.separator {
                        &.fa-redactor-btn:before {
                                content: "";
                        }
+                       
+                       &.redactor-btn-image {
+                               background-position: center;
+                               background-repeat: no-repeat;
+                       }
                }
        }
 }