Skip to content

Commit

Permalink
Feature/cdpt 636 intranet headings typescale improvements (#791)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
EmilyHazlehurst authored Nov 21, 2024
1 parent c935085 commit c786c85
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions public/app/themes/clarity/src/components/c-polls/style.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -53,10 +59,6 @@
display: none !important;
}

h4 {
font-size: $mantle !important;
}

.totalpoll-question-choices-item-votes-text {
font-size: $outerCore !important;
}
Expand Down

0 comments on commit c786c85

Please sign in to comment.