Merge pull request #1788 from abizek/main

Fix popover stacking in right sidebar theme section
This commit is contained in:
Amruth Pillai
2024-03-10 10:21:40 +01:00
committed by GitHub

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) => {