popover only works on desktop

This commit is contained in:
Pas 2025-03-08 13:01:32 -07:00
parent 34960cc0c2
commit 58d60d2059
2 changed files with 2 additions and 2 deletions

View file

@ -618,7 +618,7 @@
"discoverDescription": "Show the Discover section on the Homepage below your bookmarked media. Enabled by default.", "discoverDescription": "Show the Discover section on the Homepage below your bookmarked media. Enabled by default.",
"discoverLabel": "Discover section", "discoverLabel": "Discover section",
"hover": "Details popup", "hover": "Details popup",
"hoverDescription": "Show a popup with details when hovering over a media item. Disabled by default.", "hoverDescription": "Show a popup with details when hovering over a media item. Disabled by default. (Only available on desktop)",
"hoverLabel": "Details popup" "hoverLabel": "Details popup"
} }
}, },

View file

@ -177,7 +177,7 @@ export function AppearancePart(props: {
</p> </p>
<div <div
onClick={() => props.setEnablePopDetails(!props.enablePopDetails)} onClick={() => props.setEnablePopDetails(!props.enablePopDetails)}
className="bg-dropdown-background hover:bg-dropdown-hoverBackground select-none my-4 cursor-pointer space-x-3 flex items-center max-w-[25rem] py-3 px-4 rounded-lg" className="opacity-50 md:opacity-100 bg-dropdown-background hover:bg-dropdown-hoverBackground select-none my-4 cursor-pointer space-x-3 flex items-center max-w-[25rem] py-3 px-4 rounded-lg"
> >
<Toggle enabled={props.enablePopDetails} /> <Toggle enabled={props.enablePopDetails} />
<p className="flex-1 text-white font-bold"> <p className="flex-1 text-white font-bold">