Fixed bug #12908: wrong distance between image rows [css styled content]
authorSusanne Moog <typo3@susannemoog.de>
Thu, 22 Apr 2010 07:35:39 +0000 (07:35 +0000)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 22 Apr 2010 07:35:39 +0000 (07:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7413 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/css_styled_content/static/v4.3/setup.txt

index bb4d682..afa84d2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-04-22  Susanne Moog <typo3@susanne-moog.de>
 
        * Fixed bug #3996: Constant Editor - Default Image Width [styles.content.imgtext.linkWrap.width] - wrong description (thanks to Martin Herzog)
+       * Fixed bug #12908: wrong distance between image rows  [css styled content]
 
 2010-04-22  Patrick Broens  <patrick@patrickbroens.nl>
 
index 28547f5..9edcdef 100644 (file)
@@ -1749,13 +1749,16 @@ plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE (
                margin-left: {$styles.content.imgtext.colSpace}px;
        }
        DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image .csc-textpic-caption { margin: 0; }
-       DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; }
+       DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; vertical-align:bottom; }
 
        /* Space below each image (also in-between rows) */
        DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { margin-bottom: {$styles.content.imgtext.rowSpace}px; }
        DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { margin-bottom: {$styles.content.imgtext.rowSpace}px; display: block; }
        DIV.csc-textpic DIV.csc-textpic-imagerow { clear: both; }
        DIV.csc-textpic DIV.csc-textpic-single-image IMG { margin-bottom: {$styles.content.imgtext.rowSpace}px; }
+       
+       *+html DIV.csc-textpic DIV.csc-textpic-imagerow .csc-textpic-image { margin-bottom: 0; }
+       *+html DIV.csc-textpic DIV.csc-textpic-imagerow { margin-bottom: {$styles.content.imgtext.rowSpace}px; }
 
        /* No margins around the whole image-block */
        DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol { margin-left: 0px !important; }
index f8fa959..8c21ef8 100644 (file)
@@ -1745,13 +1745,16 @@ plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE (
                margin-left: {$styles.content.imgtext.colSpace}px;
        }
        DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image .csc-textpic-caption { margin: 0; }
-       DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; }
+       DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; vertical-align:bottom; }
 
        /* Space below each image (also in-between rows) */
        DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { margin-bottom: {$styles.content.imgtext.rowSpace}px; }
        DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { margin-bottom: {$styles.content.imgtext.rowSpace}px; display: block; }
        DIV.csc-textpic DIV.csc-textpic-imagerow { clear: both; }
        DIV.csc-textpic DIV.csc-textpic-single-image IMG { margin-bottom: {$styles.content.imgtext.rowSpace}px; }
+       
+       *+html DIV.csc-textpic DIV.csc-textpic-imagerow .csc-textpic-image { margin-bottom: 0; }
+       *+html DIV.csc-textpic DIV.csc-textpic-imagerow { margin-bottom: {$styles.content.imgtext.rowSpace}px; }
 
        /* No margins around the whole image-block */
        DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol { margin-left: 0px !important; }