Skip to content

Commit

Permalink
fix: remove preview overlay from library component sidebar (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido authored Sep 25, 2024
1 parent 5f41db8 commit b6ec5e1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/library-authoring/component-info/ComponentPreview.tsx
Original file line number Diff line number Diff line change
@@ -6,11 +6,6 @@ import { OpenInFull } from '@openedx/paragon/icons';
import { LibraryBlock } from '../LibraryBlock';
import messages from './messages';

// This is a simple overlay to prevent interaction with the preview
const PreviewOverlay = () => (
<div className="position-absolute w-100 h-100 zindex-9" />
);

interface ModalComponentPreviewProps {
isOpen: boolean;
close: () => void;
@@ -44,7 +39,6 @@ const ComponentPreview = ({ usageKey }: ComponentPreviewProps) => {
return (
<>
<div className="position-relative m-2">
<PreviewOverlay />
<Button
size="sm"
variant="light"

0 comments on commit b6ec5e1

Please sign in to comment.