From 9e68d352e08d6bd220dd5d5127ae7dbfc9e3d0b9 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Tue, 23 Jan 2024 13:16:15 -0800 Subject: [PATCH] Inject css to ensure that paragraphs stack vertically --- ...sset_injector.css.paragraphs_container.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/asset_injector.css.paragraphs_container.yml diff --git a/config/asset_injector.css.paragraphs_container.yml b/config/asset_injector.css.paragraphs_container.yml new file mode 100644 index 0000000..6e91eaf --- /dev/null +++ b/config/asset_injector.css.paragraphs_container.yml @@ -0,0 +1,22 @@ +uuid: a5d284b3-89c3-4293-a27e-15bdcd054adb +langcode: en +status: true +dependencies: + module: + - block_visibility_groups +id: paragraphs_container +label: 'Paragraphs container' +code: |- + div:has(> div > .paragraph) { + display: flex; + flex-direction: column; + } +media: all +preprocess: true +conditions: + condition_group: + id: condition_group + negate: false + block_visibility_group: '' +contexts: { } +conditions_require_all: true