[BUGFIX] Correct icon alignment
[Packages/TYPO3.CMS.git] / Build / Resources / Public / Less / Component / icon.less
index bc6f3a7..56040a4 100644 (file)
        position: relative;
        display: inline-block;
        overflow: hidden;
-       vertical-align: middle;
        white-space: nowrap;
+       vertical-align: -22%;
        img {
                display: block;
                height: 100%;
                width: 100%;
        }
+       * {
+               display: block;
+               line-height: inherit;
+       }
 }
 .icon-markup {
        position: absolute;
@@ -58,9 +62,6 @@
        width: 60%;
        text-align: center;
 }
-.icon-unify {
-       display: block;
-}
 
 //
 // Variants