From f5be4e47e8c9149bae42694e0d37d3dd281c81b1 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Tue, 30 Oct 2018 07:45:22 +0100 Subject: [PATCH] Rename misleading variable name [MAILPOET-1568] --- .../newsletter_editor/contentBlocks/container.styl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/assets/css/src/newsletter_editor/contentBlocks/container.styl b/assets/css/src/newsletter_editor/contentBlocks/container.styl index f914de8b6f..4dc66991a5 100644 --- a/assets/css/src/newsletter_editor/contentBlocks/container.styl +++ b/assets/css/src/newsletter_editor/contentBlocks/container.styl @@ -2,7 +2,7 @@ $column-margin = 20px $one-column-width = $newsletter-width - (2 * $column-margin) $two-column-width = ($newsletter-width / 2) - (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 width: 100% @@ -28,14 +28,6 @@ $two-column-width-width = (($newsletter-width / 3) - $column-margin) * 2 .mailpoet_container_horizontal > * 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_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_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 text-align: center