From 7fe20dd05c97106a261e14008ff4961132048f36 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 21 Feb 2024 07:38:58 -0500 Subject: [PATCH] fix: Document breadcrumbs are unclickable in desktop app --- app/components/Breadcrumb.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/Breadcrumb.tsx b/app/components/Breadcrumb.tsx index eacacade7..d94ca8d49 100644 --- a/app/components/Breadcrumb.tsx +++ b/app/components/Breadcrumb.tsx @@ -5,6 +5,7 @@ import styled from "styled-components"; import { s, ellipsis } from "@shared/styles"; import Flex from "~/components/Flex"; import BreadcrumbMenu from "~/menus/BreadcrumbMenu"; +import { undraggableOnDesktop } from "~/styles"; import { MenuInternalLink } from "~/types"; type Props = { @@ -75,6 +76,7 @@ const Item = styled(Link)<{ $highlight: boolean; $withIcon: boolean }>` height: 24px; font-weight: ${(props) => (props.$highlight ? "500" : "inherit")}; margin-left: ${(props) => (props.$withIcon ? "4px" : "0")}; + ${undraggableOnDesktop()} svg { flex-shrink: 0;