[BUGFIX] Fix auto width in extension icon in EM 08/49308/3
authorBenni Mack <benni@typo3.org>
Tue, 2 Aug 2016 11:52:34 +0000 (13:52 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 2 Aug 2016 14:20:35 +0000 (16:20 +0200)
If an extension is using a svg icon with no explicit height/width obviously,
then the extension manager shows the icon on the full width of the
table column, making it not only inconsistent but impossible to read the
extension text.

The patch removes the "width: auto" style in CSS.

Resolves: #76381
Releases: master, 7.6
Change-Id: Idb9cfa9bd5720920f67b35d2dada6b21a469a1db
Reviewed-on: https://review.typo3.org/49308
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: David Steeb <david.steeb@b13.de>
Tested-by: David Steeb <david.steeb@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Build/Resources/Public/Less/TYPO3/_module_extensionmanager.less
typo3/sysext/backend/Resources/Public/Css/backend.css

index 73ea2a5..d2b96df 100644 (file)
 
        .ext-icon {
                max-height: 16px;
-               width: auto;
+               max-width: 16px;
        }
 
        tr.installed td {
index 77c9789..5db0872 100644 (file)
@@ -13222,7 +13222,7 @@ span.item-state-deleted {
 }
 .typo3-extension-list .ext-icon {
   max-height: 16px;
-  width: auto;
+  max-width: 16px;
 }
 .typo3-extension-list tr.installed td {
   background-color: #c8ffaa;