From b80a7dfd09532a905999ff761d1c0a2362b9f052 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Mon, 4 Mar 2024 14:39:30 -0800 Subject: [PATCH] Override the font size of medium buttons beneath a purge_child_class element --- ...ctor.css.purge_font_size_modifications.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/asset_injector.css.purge_font_size_modifications.yml diff --git a/config/asset_injector.css.purge_font_size_modifications.yml b/config/asset_injector.css.purge_font_size_modifications.yml new file mode 100644 index 0000000..5daae2c --- /dev/null +++ b/config/asset_injector.css.purge_font_size_modifications.yml @@ -0,0 +1,21 @@ +uuid: b1b17c5f-0612-4cca-888b-35f5d37a6915 +langcode: en +status: true +dependencies: + module: + - block_visibility_groups +id: purge_font_size_modifications +label: 'Purge font size modifications' +code: |- + .purge-child-class .is-medium { + font-size: 1rem; + } +media: all +preprocess: true +conditions: + condition_group: + id: condition_group + negate: false + block_visibility_group: '' +contexts: { } +conditions_require_all: true