Change class name for columns with background
[MAILPOET-2609]
This commit is contained in:
committed by
Pavel Dohnal
parent
23a8a46858
commit
772df80f01
@ -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";
|
||||
|
@ -12,7 +12,7 @@ class Styles {
|
||||
}
|
||||
|
||||
/* columns */
|
||||
.mailpoet_column_has_background {
|
||||
.mailpoet_column_with_background {
|
||||
padding: 10px;
|
||||
}
|
||||
/* space between columns */
|
||||
|
Reference in New Issue
Block a user