Skip to content

Commit

Permalink
update heading font size enforcing
Browse files Browse the repository at this point in the history
  • Loading branch information
rccsousa committed Oct 21, 2024
1 parent 08aefd2 commit 11bc736
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/app/(payload)/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@
line-height: 2em;
}

.rich-text-lexical h1 {
font-size: var(--size-40);
}

.rich-text-lexical h2,
.rich-text-lexical h3,
.rich-text-lexical h4,
.rich-text-lexical h5,
.rich-text-lexical h6 {
font-size: var(--size-28);

}

5 changes: 4 additions & 1 deletion src/app/_blocks/BlogpostContent/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@

@media (min-width: 1024px) {

.content h1,
.content h1 {
font-size: var(--size-40);
}

.content h2,
.content h3,
.content h4,
Expand Down

0 comments on commit 11bc736

Please sign in to comment.