Skip to content

Commit f8cdd7e

Browse files
Merge pull request #636 from LooseLi/fix-h-in-synced-block
2 parents 4ed212f + ae3429e commit f8cdd7e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/react-notion-x/src/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,16 @@
531531
opacity: 1;
532532
}
533533

534+
/* Add specific styles for headings in sync blocks */
535+
.notion-sync-block .notion-h {
536+
display: block;
537+
}
538+
539+
/* Preserve original styles for toggle headings */
540+
details.notion-toggle .notion-h {
541+
display: inline;
542+
}
543+
534544
.notion-hash-link {
535545
opacity: 0;
536546
text-decoration: none;

0 commit comments

Comments
 (0)