fix: Increase z-index of color picker

This commit is contained in:
Dries Augustyns
2025-12-16 13:19:52 +01:00
parent 91eb0f3a69
commit 769e3748a0
@@ -424,7 +424,7 @@ export function Toolbar({editor, onInsertVariable, onInsertImage, canUploadImage
</Button> </Button>
{showColorPicker && ( {showColorPicker && (
<div <div
className="absolute top-10 left-0 bg-white border border-neutral-200 rounded-lg shadow-lg p-3 z-20 max-h-96 overflow-y-auto" className="absolute top-10 left-0 bg-white border border-neutral-200 rounded-lg shadow-lg p-3 z-50 max-h-96 overflow-y-auto"
style={{width: '280px'}} style={{width: '280px'}}
> >
{/* Custom color input */} {/* Custom color input */}
@@ -508,7 +508,7 @@ export function Toolbar({editor, onInsertVariable, onInsertImage, canUploadImage
<Link className="h-4 w-4" /> <Link className="h-4 w-4" />
</Button> </Button>
{showLinkInput && ( {showLinkInput && (
<div className="absolute top-10 right-0 bg-white border border-neutral-200 rounded-lg shadow-lg p-2 z-20 min-w-max"> <div className="absolute top-10 right-0 bg-white border border-neutral-200 rounded-lg shadow-lg p-2 z-50 min-w-max">
<div className="flex gap-2 mb-2"> <div className="flex gap-2 mb-2">
<input <input
type="url" type="url"