Skip to content

Commit

Permalink
fix(editor): Forgot to add the negation for isSerlo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikey Stengel committed Dec 23, 2024
1 parent 1920b17 commit de01e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/editor-ui/editor-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function EditorModal({
'serlo-modal',
className,
// The moodle navigation bar has a z-index of 1030...
isSerlo && 'z-[1040]'
!isSerlo && 'z-[1040]'
)}
data-modal-state={isOpen ? 'open' : 'closed'}
aria-describedby={undefined}
Expand Down

0 comments on commit de01e2c

Please sign in to comment.