diff options
author | tobiasbrown <2645932+tobiasbrown@users.noreply.github.com> | 2022-10-22 02:35:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 02:35:59 +0300 |
commit | 4357d35f4a9aa6cb65d57fd35a59f3b76b6599f5 (patch) | |
tree | 7f7a727c69092711ee9149c499d30918fd2448ef | |
parent | 5041f80e5b3f9cb753cfccaaf219985b593d91d5 (diff) |
Centre and wrap Condition Widget label (#5886)
* [ConditionWidget] Center label text
Addresses #5799
* [ConditionWidget] Wrap label text
Addresses #5799
* [ConditionWidget] Add padding to label
Addresses #5799
* [ConditionWidget] Use interiorMargin value for padding
Addresses #5799
-rw-r--r-- | src/plugins/conditionWidget/components/condition-widget.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/conditionWidget/components/condition-widget.scss b/src/plugins/conditionWidget/components/condition-widget.scss index 7c06ff989..3e9992ce4 100644 --- a/src/plugins/conditionWidget/components/condition-widget.scss +++ b/src/plugins/conditionWidget/components/condition-widget.scss @@ -30,6 +30,12 @@ padding: $interiorMarginLg $interiorMarginLg * 2; } +.c-condition-widget__label { + padding: $interiorMargin; + text-align: center; + white-space: normal; +} + a.c-condition-widget { // Widget is conditionally made into a <a> when URL property has been defined cursor: pointer !important; |