Refactor environment edit dialog

This commit is contained in:
Gregory Schier
2023-11-02 20:38:33 -07:00
parent a99a36b5cc
commit b15cdec701
6 changed files with 88 additions and 47 deletions

View File

@@ -46,10 +46,6 @@ export function Overlay({
variant === 'default' && 'bg-gray-600/30 dark:bg-black/30 backdrop-blur-sm',
)}
/>
{/* Add region to still be able to drag the window */}
{variant !== 'transparent' && (
<div data-tauri-drag-region className="absolute top-0 left-0 right-0 h-md" />
)}
<div className="bg-red-100">{children}</div>
</motion.div>
</FocusTrap>