Skip to content

Commit 47edef6

Browse files
Merge pull request #228 from Bogomil-Stoyanov/bugfix/IPR-350-tailwind-affects-editor
[IPR-350] Added no-global-reset to modal component
2 parents 85d3a7b + 95e78b6 commit 47edef6

File tree

1 file changed

+3
-1
lines changed
  • packages/scratch-gui/src/components/modal

1 file changed

+3
-1
lines changed

packages/scratch-gui/src/components/modal/modal.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ const ModalComponent = props => (
1717
<ReactModal
1818
isOpen
1919
className={classNames(styles.modalContent, props.className, {
20-
[styles.fullScreen]: props.fullScreen
20+
[styles.fullScreen]: props.fullScreen,
21+
// Used by scratch-platorm to distinguish between editor modals and other modals
22+
'scratch-editor-modal': true
2123
})}
2224
contentLabel={props.contentLabel}
2325
overlayClassName={styles.modalOverlay}

0 commit comments

Comments
 (0)