[BUGFIX] Center legacy extension icons 86/36986/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 18 Feb 2015 08:43:55 +0000 (09:43 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Wed, 18 Feb 2015 19:32:40 +0000 (20:32 +0100)
Add a horizontal margin to typo3-app-icon to ensure legacy extension
icons are centered.

Resolves: #65139
Releases: master
Change-Id: I4669237173194e6c265b2ca40c2736b3c73b12b3
Reviewed-on: http://review.typo3.org/36986
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_main_content.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css

index 9f5c1d2..a179bf9 100644 (file)
@@ -156,6 +156,7 @@ em {
        img {
                max-height: @app-icon-width;
                max-width: @app-icon-width;
+               margin: 0 auto;
        }
        .fa {
                font-size: @app-icon-font-size;
index 75b1504..6ca0b2e 100644 (file)
@@ -9585,6 +9585,7 @@ em {
 .typo3-app-icon img {
   max-height: 28px;
   max-width: 28px;
+  margin: 0 auto;
 }
 .typo3-app-icon .fa {
   font-size: 21px;