Skip to content

Commit f03d780

Browse files
committed
style(NcRichText): consider reference widgets in markdown styles
- last child of .rich-text--wrapper-markdown might be .rich-text--reference-widget, which breaks styles for expected :last-child Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent aa4b4a2 commit f03d780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/NcRichText/NcRichText.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ export default {
613613
margin-top: 0 !important;
614614
}
615615
& > :last-child,
616+
& > *:has(+ .rich-text--reference-widget),
616617
div > :last-child,
617618
blockquote > :last-child {
618619
margin-block-end: 0 !important;

0 commit comments

Comments
 (0)