[BUGFIX] Remove bottom margin of image content elements 13/59013/2
authorJan Kiesewetter <jan@t3easy.de>
Mon, 3 Dec 2018 08:45:05 +0000 (09:45 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 11 Jan 2019 21:48:57 +0000 (22:48 +0100)
Resolves: #87059
Releases: master
Change-Id: I842fa15aa7bb8a01035299be1298f2a5d9480c98
Reviewed-on: https://review.typo3.org/59013
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Raphael Graf <r@undefined.ch>
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: Jonas Esser <info@jonas-esser.de>
Tested-by: Jonas Esser <info@jonas-esser.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Styling/setup.typoscript

index afa8936..161fd2d 100644 (file)
@@ -25,6 +25,7 @@ plugin.tx_frontend._CSS_DEFAULT_STYLE (
     .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
         margin-bottom: {$styles.content.textmedia.textMargin}px;
     }
+    .ce-image .ce-gallery { margin-bottom: 0; }
     .ce-intext.ce-right .ce-gallery { margin-left: {$styles.content.textmedia.textMargin}px; }
     .ce-intext.ce-left .ce-gallery { margin-right: {$styles.content.textmedia.textMargin}px; }
     .ce-below .ce-gallery { margin-top: {$styles.content.textmedia.textMargin}px; }