Skip to content

Commit 756cf82

Browse files
committed
🐛(frontend) fix styles in doc editor heading
The headings in the doc editor were not inheriting the correct style anymore due to a recent upgrade of Blocknote. This commit fixes the issue.
1 parent 9c83219 commit 756cf82

File tree

1 file changed

+3
-3
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-editor

1 file changed

+3
-3
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ export const cssEditor = css`
123123
.bn-inline-content {
124124
text-decoration: none;
125125
}
126-
h1 {
126+
.bn-default-styles h1 {
127127
font-size: 1.875rem;
128128
}
129-
h2 {
129+
.bn-default-styles h2 {
130130
font-size: 1.5rem;
131131
}
132-
h3 {
132+
.bn-default-styles h3 {
133133
font-size: 1.25rem;
134134
}
135135
a {

0 commit comments

Comments
 (0)