fix(builder): fix popover stacking in right sidebar theme section

Fixes #1642
This commit is contained in:
abizek
2024-02-22 18:45:07 +05:30
committed by Abishek Ilango
parent 24f0af890a
commit 269f4c8b4d

View File

@ -79,7 +79,7 @@ export const ThemeSection = () => {
style={{ backgroundColor: theme.background }} style={{ backgroundColor: theme.background }}
/> />
</PopoverTrigger> </PopoverTrigger>
<PopoverContent asChild className="rounded-lg border-none bg-transparent p-0"> <PopoverContent className="rounded-lg border-none bg-transparent p-0">
<HexColorPicker <HexColorPicker
color={theme.background} color={theme.background}
onChange={(color) => { onChange={(color) => {
@ -109,7 +109,7 @@ export const ThemeSection = () => {
style={{ backgroundColor: theme.text }} style={{ backgroundColor: theme.text }}
/> />
</PopoverTrigger> </PopoverTrigger>
<PopoverContent asChild className="rounded-lg border-none bg-transparent p-0"> <PopoverContent className="rounded-lg border-none bg-transparent p-0">
<HexColorPicker <HexColorPicker
color={theme.text} color={theme.text}
onChange={(color) => { onChange={(color) => {