mirror of
https://github.com/enso-org/enso.git
synced 2024-12-27 03:52:35 +03:00
Fix styles for confirm delete modal (#8312)
The background for the "confirm delete" modal was offset - the fix is to add `inset-0`. # Important Notes None
This commit is contained in:
parent
5e1a3124dc
commit
feb59be0a1
@ -44,7 +44,7 @@ export default function ConfirmDeleteModal(props: ConfirmDeleteModalProps) {
|
||||
element?.focus()
|
||||
}}
|
||||
tabIndex={-1}
|
||||
className="relative flex flex-col gap-2 rounded-2xl w-96 px-4 p-2 pointer-events-auto before:absolute before:rounded-2xl before:bg-frame-selected before:backdrop-blur-3xl before:w-full before:h-full"
|
||||
className="relative flex flex-col gap-2 rounded-2xl w-96 px-4 p-2 pointer-events-auto before:absolute before:inset-0 before:rounded-2xl before:bg-frame-selected before:backdrop-blur-3xl before:w-full before:h-full"
|
||||
onKeyDown={event => {
|
||||
if (event.key !== 'Escape') {
|
||||
event.stopPropagation()
|
||||
|
Loading…
Reference in New Issue
Block a user