Remove unnecessary condition for background styles render
[MAILPOET-3005]
This commit is contained in:
committed by
Veljko V
parent
fa13ff961b
commit
56dbf5bec1
@@ -12,7 +12,7 @@ class Columns {
|
||||
if (isset($params['text_color'])) {
|
||||
$styles[] = "color:{$params['text_color']};";
|
||||
}
|
||||
if (isset($params['background_color']) && !isset($params['gradient'])) {
|
||||
if (!empty($params['background_color'])) {
|
||||
$styles[] = "background-color:{$params['background_color']};";
|
||||
}
|
||||
if (isset($params['gradient'])) {
|
||||
|
Reference in New Issue
Block a user