Skip to content

Commit

Permalink
Add RichText Heading 1,2,3,4,5,6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcibotari committed Dec 1, 2024
1 parent b3efa5a commit 0de75c6
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions src/styles/_rich-text-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,24 @@ ll-rich-text-editor {
}
}
/* Heading styles */
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.1;
margin-top: 2.5rem;
text-wrap: pretty;
}

h1,
h2 {
margin-top: 3.5rem;
margin-bottom: 1.5rem;
}

h1 {
font-size: 1.4rem;
font-weight: 700;
font-size: 1.5rem;
line-height: 2rem;
margin-bottom: 0.5rem
}

h2 {
font-size: 1.2rem;
font-weight: 600;
font-size: 1.125rem;
line-height: 1.75rem;
margin-bottom: 0.5rem;
}

h3 {
font-size: 1.1rem;
font-weight: 600;
font-size: 1rem;
line-height: 1.75rem;
margin-bottom: 0.5rem;
}

h4,
h5,
h6 {
Expand Down

0 comments on commit 0de75c6

Please sign in to comment.