From c786c85dfe3ff7a1b4996fa6040d7098100957f0 Mon Sep 17 00:00:00 2001 From: Emily Hazlehurst Date: Thu, 21 Nov 2024 12:29:01 +0000 Subject: [PATCH] Feature/cdpt 636 intranet headings typescale improvements (#791) * CDPT-636: Update heading styles in the rich text component - Add new rems font sizes in the rich text component and for page headings - Clarify the 62.5% decision in reset.styl * CDPT-636: Update heading styles in the rich text component - Stop totalpoll overrides applying everywhere * CDPT-636: Update heading styles in the rich text component - Order --- .../themes/clarity/src/components/c-polls/style.styl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/app/themes/clarity/src/components/c-polls/style.styl b/public/app/themes/clarity/src/components/c-polls/style.styl index aaae0f320..4d2f1b620 100644 --- a/public/app/themes/clarity/src/components/c-polls/style.styl +++ b/public/app/themes/clarity/src/components/c-polls/style.styl @@ -7,6 +7,12 @@ // Overriding Totalpoll plugin styles to Clarity theme styles. // Needs to be outside of this specific component's scope so it is global and will affect wherever the shortcode is used on the site. +.totalpoll-wrapper { + h4 { + font-size: $mantle !important; + } +} + .totalpoll-button, .totalpoll-button-primary, .totalpoll-button-vote { cursor: pointer !important; font-size: $outerCore !important; @@ -53,10 +59,6 @@ display: none !important; } -h4 { - font-size: $mantle !important; -} - .totalpoll-question-choices-item-votes-text { font-size: $outerCore !important; }