Rename misleading variable name
[MAILPOET-1568]
This commit is contained in:
@@ -2,7 +2,7 @@ $column-margin = 20px
|
|||||||
$one-column-width = $newsletter-width - (2 * $column-margin)
|
$one-column-width = $newsletter-width - (2 * $column-margin)
|
||||||
$two-column-width = ($newsletter-width / 2) - (2 * $column-margin)
|
$two-column-width = ($newsletter-width / 2) - (2 * $column-margin)
|
||||||
$three-column-width = ($newsletter-width / 3) - (2 * $column-margin)
|
$three-column-width = ($newsletter-width / 3) - (2 * $column-margin)
|
||||||
$two-column-width-width = (($newsletter-width / 3) - $column-margin) * 2
|
$two-column-wider-column-width = (($newsletter-width / 3) - $column-margin) * 2
|
||||||
|
|
||||||
.mailpoet_container
|
.mailpoet_container
|
||||||
width: 100%
|
width: 100%
|
||||||
@@ -28,14 +28,6 @@ $two-column-width-width = (($newsletter-width / 3) - $column-margin) * 2
|
|||||||
.mailpoet_container_horizontal > *
|
.mailpoet_container_horizontal > *
|
||||||
vertical-align: top
|
vertical-align: top
|
||||||
|
|
||||||
/**
|
|
||||||
* Enforce column widths:
|
|
||||||
* 1 column: 20px + 560px + 20px
|
|
||||||
* 2 columns: 20px + 260px + 20px + 260px + 20px
|
|
||||||
* 12 columns: 20px + 160px + 20px + 400px + 20px
|
|
||||||
* 21 columns: 20px + 400px + 20px + 160px + 20px
|
|
||||||
* 3 columns: 20px + 160px + 20px + 20px + 160px + 20px + 20px + 160px + 20px
|
|
||||||
*/
|
|
||||||
|
|
||||||
#mailpoet_editor_content
|
#mailpoet_editor_content
|
||||||
.mailpoet_container
|
.mailpoet_container
|
||||||
@@ -82,7 +74,7 @@ $two-column-width-width = (($newsletter-width / 3) - $column-margin) * 2
|
|||||||
|
|
||||||
& > .mailpoet_container_block > .mailpoet_container > .mailpoet_container_block > .mailpoet_container_horizontal.mailpoet_irregular_width_contents_container.column_layout_2_1 > .mailpoet_container_block:first-child,
|
& > .mailpoet_container_block > .mailpoet_container > .mailpoet_container_block > .mailpoet_container_horizontal.mailpoet_irregular_width_contents_container.column_layout_2_1 > .mailpoet_container_block:first-child,
|
||||||
& > .mailpoet_container_block > .mailpoet_container > .mailpoet_container_block > .mailpoet_container_horizontal.mailpoet_irregular_width_contents_container.column_layout_1_2 > .mailpoet_container_block:nth-child(2)
|
& > .mailpoet_container_block > .mailpoet_container > .mailpoet_container_block > .mailpoet_container_horizontal.mailpoet_irregular_width_contents_container.column_layout_1_2 > .mailpoet_container_block:nth-child(2)
|
||||||
width: $column-margin + $two-column-width-width + $column-margin
|
width: $column-margin + $two-column-wider-column-width + $column-margin
|
||||||
|
|
||||||
.mailpoet_container_empty
|
.mailpoet_container_empty
|
||||||
text-align: center
|
text-align: center
|
||||||
|
Reference in New Issue
Block a user