Change class name for columns with background

[MAILPOET-2609]
This commit is contained in:
Rostislav Wolny
2020-03-03 11:32:19 +01:00
committed by Pavel Dohnal
parent 23a8a46858
commit 772df80f01
4 changed files with 7 additions and 7 deletions

View File

@ -28,9 +28,9 @@ class Columns {
}
if (!empty($params['background_color'])) {
$classes[] = "has-{$params['background_color']}-background-color";
$classes[] = "mailpoet_column_has_background";
$classes[] = "mailpoet_column_with_background";
} elseif (!empty($params['custom_background_color'])) {
$classes[] = "mailpoet_column_has_background";
$classes[] = "mailpoet_column_with_background";
}
if (!empty($params['text_color'])) {
$classes[] = "has-{$params['text_color']}-color";