diff --git a/apps/web/src/components/action-bar.tsx b/apps/web/src/components/action-bar.tsx index fce41dd..7ea2beb 100644 --- a/apps/web/src/components/action-bar.tsx +++ b/apps/web/src/components/action-bar.tsx @@ -279,7 +279,8 @@ export function ActionBar({ const handleAddFromBestiary = useCallback( (result: SearchResult) => { const creatureId = addFromBestiary(result); - if (creatureId && panelView.mode === "closed") { + const isDesktop = globalThis.matchMedia("(min-width: 1024px)").matches; + if (creatureId && panelView.mode === "closed" && isDesktop) { showCreature(creatureId); } },