Skip to content

Commit b6ec5e1

Browse files
authored
fix: remove preview overlay from library component sidebar (#1323)
1 parent 5f41db8 commit b6ec5e1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/library-authoring/component-info/ComponentPreview.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ import { OpenInFull } from '@openedx/paragon/icons';
66
import { LibraryBlock } from '../LibraryBlock';
77
import messages from './messages';
88

9-
// This is a simple overlay to prevent interaction with the preview
10-
const PreviewOverlay = () => (
11-
<div className="position-absolute w-100 h-100 zindex-9" />
12-
);
13-
149
interface ModalComponentPreviewProps {
1510
isOpen: boolean;
1611
close: () => void;
@@ -44,7 +39,6 @@ const ComponentPreview = ({ usageKey }: ComponentPreviewProps) => {
4439
return (
4540
<>
4641
<div className="position-relative m-2">
47-
<PreviewOverlay />
4842
<Button
4943
size="sm"
5044
variant="light"

0 commit comments

Comments
 (0)