From 0de75c660339a02dd7648e2f07d79729528f6627 Mon Sep 17 00:00:00 2001 From: alexcibotari Date: Sun, 1 Dec 2024 21:27:59 +0100 Subject: [PATCH] Add RichText Heading 1,2,3,4,5,6 --- src/styles/_rich-text-editor.scss | 35 +++++++++++-------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/src/styles/_rich-text-editor.scss b/src/styles/_rich-text-editor.scss index 73df0019..85ae04d9 100644 --- a/src/styles/_rich-text-editor.scss +++ b/src/styles/_rich-text-editor.scss @@ -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 {