Skip to content

Commit be96b68

Browse files
committed
fix quill global style issue
1 parent 27348df commit be96b68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/controls/richText/RichText.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
width: 100%;
106106
}
107107

108-
:global {
108+
:global(.pnp-richtext-quill-container) {
109109
.ql-toolbar {
110110
background-color: transparent;
111111
color: "[theme:neutralLighterAlt, default:#{$ms-color-neutralLighterAlt}]";

src/controls/richText/RichText.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ export class RichText extends React.Component<IRichTextProps, IRichTextState> {
637637
className={
638638
css(
639639
styles.richtext && this.state.editing ? 'ql-active' : null,
640+
'pnp-richtext-quill-container',
640641
this.props.className || null
641642
) || null
642643
}

0 commit comments

Comments
 (0)