[WIKI-641] fix: overwrite tailwind typography plugin styles #7723

This commit is contained in:
Aaryan Khandelwal 2025-09-04 18:14:48 +05:30 committed by GitHub
parent c6c46f9aab
commit 78c6aede52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -339,9 +339,9 @@ p.editor-paragraph-block {
} }
padding-bottom: var(--heading-1-padding-bottom); padding-bottom: var(--heading-1-padding-bottom);
font-size: var(--font-size-h1); font-size: var(--font-size-h1) !important;
line-height: var(--line-height-h1); line-height: var(--line-height-h1) !important;
font-weight: 600; font-weight: 600 !important;
} }
.prose :where(h2.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) { .prose :where(h2.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
@ -350,9 +350,9 @@ p.editor-paragraph-block {
} }
padding-bottom: var(--heading-2-padding-bottom); padding-bottom: var(--heading-2-padding-bottom);
font-size: var(--font-size-h2); font-size: var(--font-size-h2) !important;
line-height: var(--line-height-h2); line-height: var(--line-height-h2) !important;
font-weight: 600; font-weight: 600 !important;
} }
.prose :where(h3.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) { .prose :where(h3.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
@ -361,9 +361,9 @@ p.editor-paragraph-block {
} }
padding-bottom: var(--heading-3-padding-bottom); padding-bottom: var(--heading-3-padding-bottom);
font-size: var(--font-size-h3); font-size: var(--font-size-h3) !important;
line-height: var(--line-height-h3); line-height: var(--line-height-h3) !important;
font-weight: 600; font-weight: 600 !important;
} }
.prose :where(h4.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) { .prose :where(h4.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
@ -372,9 +372,9 @@ p.editor-paragraph-block {
} }
padding-bottom: var(--heading-4-padding-bottom); padding-bottom: var(--heading-4-padding-bottom);
font-size: var(--font-size-h4); font-size: var(--font-size-h4) !important;
line-height: var(--line-height-h4); line-height: var(--line-height-h4) !important;
font-weight: 600; font-weight: 600 !important;
} }
.prose :where(h5.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) { .prose :where(h5.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
@ -383,9 +383,9 @@ p.editor-paragraph-block {
} }
padding-bottom: var(--heading-5-padding-bottom); padding-bottom: var(--heading-5-padding-bottom);
font-size: var(--font-size-h5); font-size: var(--font-size-h5) !important;
line-height: var(--line-height-h5); line-height: var(--line-height-h5) !important;
font-weight: 600; font-weight: 600 !important;
} }
.prose :where(h6.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) { .prose :where(h6.editor-heading-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
@ -394,9 +394,9 @@ p.editor-paragraph-block {
} }
padding-bottom: var(--heading-6-padding-bottom); padding-bottom: var(--heading-6-padding-bottom);
font-size: var(--font-size-h6); font-size: var(--font-size-h6) !important;
line-height: var(--line-height-h6); line-height: var(--line-height-h6) !important;
font-weight: 600; font-weight: 600 !important;
} }
.prose :where(p.editor-paragraph-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) { .prose :where(p.editor-paragraph-block):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
@ -418,8 +418,8 @@ p.editor-paragraph-block {
} }
} }
font-size: var(--font-size-regular); font-size: var(--font-size-regular) !important;
line-height: var(--line-height-regular); line-height: var(--line-height-regular) !important;
} }
p.editor-paragraph-block + p.editor-paragraph-block { p.editor-paragraph-block + p.editor-paragraph-block {