Skip to content

Commit

Permalink
add more css specificty to font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchthorson committed Dec 14, 2024
1 parent 02f2230 commit 7cc216d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/lib/ChartBlock/ChartBlock.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
margin-top: var(--spacing-2);
}
.chart-footer p {
.chart-wrapper .chart-footer p {
font-size: 12px;
margin: 0;
}
Expand Down
14 changes: 7 additions & 7 deletions src/lib/Headline/Headline.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,31 @@
<Block {width}>
<div class="headline-wrap {variant}">
{#if $$slots.eyebrow}
<!--
<!--
Optional slot for custom content in the eyebrow slot.
-->
<slot name="eyebrow" />
{:else if eyebrow}
<p class="headline-eyebrow">{eyebrow}</p>
{/if}
{#if $$slots.headline}
<!--
<!--
Optional slot for custom content in the headline slot.
-->
<slot name="headline" />
{:else}
<h1 class="headline-page-headline">{headline}</h1>
{/if}
{#if $$slots.description}
<!--
<!--
Optional slot for custom content in the description slot.
-->
<slot name="description" />
{:else if description}
<p class="headline-description">{description}</p>
{/if}
{#if $$slots.date}
<!--
<!--
Optional slot for custom content in the date slot.
-->
<slot name="date" />
Expand All @@ -90,7 +90,7 @@
<time>{date}</time>
</p>
{/if}
<!--
<!--
Optional slot for extra content to include below the date and above the share buttons.
-->
<slot name="extra" />
Expand Down Expand Up @@ -125,7 +125,7 @@
color: var(--color-gray-shade-darkest);
font-style: italic;
}
.headline-date {
.headline-wrap p.headline-date {
color: var(--color-gray-shade-darker);
font-size: var(--font-size-small);
}
Expand All @@ -144,7 +144,7 @@
.headline-wrap.light .headline-eyebrow {
color: var(--color-white);
}
.headline-eyebrow {
.headline-wrap p.headline-eyebrow {
font-size: var(--font-size-small);
text-transform: uppercase;
}
Expand Down

0 comments on commit 7cc216d

Please sign in to comment.