diff --git a/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/styles.ts b/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/styles.ts index 5c291f228a..a615a497eb 100644 --- a/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/styles.ts +++ b/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/styles.ts @@ -179,6 +179,7 @@ export const TextLink = styled(Link)<{ active?: boolean }>` cursor: pointer; appearance: none; text-decoration: none; + user-select: none; color: ${({ theme, active }) => active ? theme.affine.palette.primary : 'unset'}; `;