Add Flex Renderer test

[MAILPOET-5644]
This commit is contained in:
Rostislav Wolny
2023-12-01 10:59:04 +01:00
committed by Jan Lysý
parent 820af6454b
commit c5ad2405aa
5 changed files with 257 additions and 18 deletions

View File

@@ -123,8 +123,8 @@ class SettingsController {
$contentVariables = 'body {';
$contentVariables .= 'padding-bottom: var(--wp--style--root--padding-bottom);';
$contentVariables .= 'padding-top: var(--wp--style--root--padding-top);';
$contentVariables .= '--wp--style--block-gap:' . self::FLEX_GAP . ';';
$contentVariables .= '}';
$contentVariables .= '--mp-flex-layout-gap:' . self::FLEX_GAP . ';';
$settings = array_merge($coreDefaultSettings, self::DEFAULT_SETTINGS);
$settings['allowedBlockTypes'] = self::ALLOWED_BLOCK_TYPES;