Update spacing in fixed bar form templates

[MAILPOET-3076]
This commit is contained in:
Rostislav Wolny
2020-09-14 12:26:34 +02:00
committed by Veljko V
parent 866aeabb10
commit 839216cf9c
5 changed files with 6 additions and 86 deletions

View File

@ -77,20 +77,6 @@ class Template1FixedBar extends FormTemplate {
'width' => '50', 'width' => '50',
], ],
'body' => [ 'body' => [
[
'type' => 'divider',
'params' => [
'class_name' => '',
'height' => '1',
'type' => 'spacer',
'style' => 'solid',
'divider_height' => '1',
'divider_width' => '100',
'color' => 'black',
],
'id' => 'divider',
'name' => 'Divider',
],
[ [
'type' => 'columns', 'type' => 'columns',
'body' => [ 'body' => [
@ -148,7 +134,7 @@ class Template1FixedBar extends FormTemplate {
'font_color' => '#ffd456', 'font_color' => '#ffd456',
'border_size' => '0', 'border_size' => '0',
'border_radius' => '8', 'border_radius' => '8',
'padding' => '16', 'padding' => '20',
'font_family' => 'Montserrat', 'font_family' => 'Montserrat',
], ],
], ],

View File

@ -78,20 +78,6 @@ class Template3FixedBar extends FormTemplate {
'width' => '32.5', 'width' => '32.5',
], ],
'body' => [ 'body' => [
[
'type' => 'divider',
'params' => [
'class_name' => '',
'height' => '1',
'type' => 'spacer',
'style' => 'solid',
'divider_height' => '1',
'divider_width' => '100',
'color' => 'black',
],
'id' => 'divider',
'name' => 'Divider',
],
[ [
'type' => 'text', 'type' => 'text',
'params' => [ 'params' => [

View File

@ -13,20 +13,6 @@ class Template4FixedBar extends FormTemplate {
public function getBody(): array { public function getBody(): array {
return [ return [
[
'type' => 'divider',
'params' => [
'class_name' => '',
'height' => '1',
'type' => 'spacer',
'style' => 'solid',
'divider_height' => '1',
'divider_width' => '100',
'color' => 'black',
],
'id' => 'divider',
'name' => 'Divider',
],
[ [
'type' => 'columns', 'type' => 'columns',
'body' => [ 'body' => [

View File

@ -16,20 +16,6 @@ class Template6FixedBar extends FormTemplate {
public function getBody(): array { public function getBody(): array {
return [ return [
[
'type' => 'divider',
'params' => [
'class_name' => '',
'height' => '1',
'type' => 'spacer',
'style' => 'solid',
'divider_height' => '1',
'divider_width' => '100',
'color' => 'black',
],
'id' => 'divider',
'name' => 'Divider',
],
[ [
'type' => 'columns', 'type' => 'columns',
'body' => [ 'body' => [
@ -38,7 +24,7 @@ class Template6FixedBar extends FormTemplate {
'params' => [ 'params' => [
'class_name' => '', 'class_name' => '',
'vertical_alignment' => 'center', 'vertical_alignment' => 'center',
'width' => '50', 'width' => '70',
], ],
'body' => [ 'body' => [
[ [
@ -48,7 +34,7 @@ class Template6FixedBar extends FormTemplate {
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . _x('<strong>Dive in!</strong> Start your journey today.', 'Text in a web form. Keep HTML tags!', 'mailpoet') . '</span>', 'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . _x('<strong>Dive in!</strong> Start your journey today.', 'Text in a web form. Keep HTML tags!', 'mailpoet') . '</span>',
'level' => '2', 'level' => '2',
'align' => 'left', 'align' => 'left',
'font_size' => '27', 'font_size' => '30',
'text_color' => '#38527a', 'text_color' => '#38527a',
'line_height' => '1', 'line_height' => '1',
'background_color' => '', 'background_color' => '',
@ -76,8 +62,8 @@ class Template6FixedBar extends FormTemplate {
'type' => 'column', 'type' => 'column',
'params' => [ 'params' => [
'class_name' => '', 'class_name' => '',
'vertical_alignment' => 'center', 'vertical_alignment' => '',
'width' => '25', 'width' => '30',
], ],
'body' => [ 'body' => [
[ [
@ -99,16 +85,6 @@ class Template6FixedBar extends FormTemplate {
'border_radius' => '10', 'border_radius' => '10',
], ],
], ],
],
],
[
'type' => 'column',
'params' => [
'class_name' => '',
'vertical_alignment' => 'center',
'width' => '25',
],
'body' => [
[ [
'type' => 'submit', 'type' => 'submit',
'params' => [ 'params' => [
@ -125,7 +101,7 @@ class Template6FixedBar extends FormTemplate {
'font_color' => '#ffffff', 'font_color' => '#ffffff',
'border_size' => '0', 'border_size' => '0',
'border_radius' => '10', 'border_radius' => '10',
'padding' => '12', 'padding' => '10',
'font_family' => 'Montserrat', 'font_family' => 'Montserrat',
], ],
], ],

View File

@ -13,20 +13,6 @@ class Template7FixedBar extends FormTemplate {
public function getBody(): array { public function getBody(): array {
return [ return [
[
'type' => 'divider',
'params' => [
'class_name' => '',
'height' => '1',
'type' => 'spacer',
'style' => 'solid',
'divider_height' => '1',
'divider_width' => '100',
'color' => 'black',
],
'id' => 'divider',
'name' => 'Divider',
],
[ [
'type' => 'columns', 'type' => 'columns',
'body' => [ 'body' => [