Use transparent as border color of submit button when color is not set

[MAILPOET-2870]
This commit is contained in:
Rostislav Wolny
2020-04-30 13:45:33 +02:00
committed by Veljko V
parent 40f83bf3a7
commit e17d3fc293
3 changed files with 9 additions and 6 deletions

View File

@ -40,6 +40,9 @@ class BlockStylesRenderer {
if (isset($styles['font_size'])) {
$rules[] = "font-size:" . intval($styles['font_size']) . "px;";
}
if (!isset($styles['border_color'])) {
$rules[] = "border-color:transparent;";
}
if (isset($styles['bold']) && $styles['bold'] === '1') {
$rules[] = "font-weight:bold;";
}