From 7a27686bb6b94124fa8e20118680ac6b1350cc16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20N=C3=A4gler?= <typo3@naegler.net> Date: Mon, 24 Nov 2014 10:31:04 +0100 Subject: [PATCH] [BUGFIX] Fix width/height of icons in overview About modules: Fix width/height of icons in overview Remove image VH and use img tag instead Resolves: #63282 Related: #63279 Releases: master Change-Id: I7cdb3006a4f3690cc1aeeb66f87e34e136d80f1b Reviewed-on: http://review.typo3.org/34531 Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de> Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> --- .../Resources/Private/Templates/Modules/Index.html | 2 +- .../aboutmodules/Resources/Public/Css/visual/styles.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/aboutmodules/Resources/Private/Templates/Modules/Index.html b/typo3/sysext/aboutmodules/Resources/Private/Templates/Modules/Index.html index 129a593cd637..644ffc0ca1d2 100644 --- a/typo3/sysext/aboutmodules/Resources/Private/Templates/Modules/Index.html +++ b/typo3/sysext/aboutmodules/Resources/Private/Templates/Modules/Index.html @@ -25,7 +25,7 @@ <span class="typo3-app-icon"> <span> <span> - <f:image src="{subModule.icon}" alt="{subModule.label}" class="media-object" maxWidth="64" maxHeight="64" /> + <img src="../{subModule.icon}" alt="{subModule.label}" class="media-object" /> </span> </span> </span> diff --git a/typo3/sysext/aboutmodules/Resources/Public/Css/visual/styles.css b/typo3/sysext/aboutmodules/Resources/Public/Css/visual/styles.css index f7a04420275b..540cc910e206 100644 --- a/typo3/sysext/aboutmodules/Resources/Public/Css/visual/styles.css +++ b/typo3/sysext/aboutmodules/Resources/Public/Css/visual/styles.css @@ -20,5 +20,9 @@ Help > About modules text-decoration: underline; } .typo3-aboutmodules-inner-docbody .end-text { - padding-top: 3em; + padding-top: 3em; +} +.typo3-aboutmodules-inner-docbody .media .typo3-app-icon img.media-object { + max-height: 64px; + max-width: 64px; } -- GitLab