Skip to content

Commit

Permalink
chore: rename class
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Aug 7, 2023
1 parent b03b9a4 commit 99e8d94
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions benefits/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ h2,
line-height: var(--heading-line-height);
}

@media (max-width: 992px) {
/* H2: 20px, up to Small width */
.h2-sm {
font-size: var(--font-size-20px);
line-height: var(--heading-line-height);
}
}

/* H3 */
/* Same sizes for all screen widths: 20px (20rem/16 = 1.25rem) */
/* Also has a class which can be applied to non-headline elements */
Expand All @@ -208,14 +216,6 @@ h3,
line-height: var(--heading-line-height);
}

@media (max-width: 992px) {
/* H3: H3, up to Small width */
.h3-sm {
font-size: var(--h3-font-size);
line-height: var(--heading-line-height);
}
}

/* H4 */
/* Desktop only: Used for Agency Selector card, agency name */
h4 {
Expand Down

0 comments on commit 99e8d94

Please sign in to comment.