Skip to content
Snippets Groups Projects

Update ColorWidget.php

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -67,7 +67,7 @@ class ColorWidget extends FormElement {
@@ -67,7 +67,7 @@ class ColorWidget extends FormElement {
}
}
if ($details['css_color'] != 'transparent') {
if ($details['css_color'] != 'transparent') {
$element['colorwidget'][$key]['#attributes']['style'] = "background:{$details['css_color']};";
$element['colorwidget'][$key]['#attributes']['style'] = "background:{$details['css_color']} !important;";
}
}
}
}
}
}
Loading