chore: disable slider bar link item drag (#2010)

This commit is contained in:
JimmFly 2023-04-18 15:16:38 +08:00 committed by GitHub
parent c895c18deb
commit 94063352f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,12 @@ export const StyledLink = styled(Link)(() => {
':visited': {
color: 'inherit',
},
userDrag: 'none',
userSelect: 'none',
appRegion: 'no-drag',
'-webkit-user-select': 'none',
'-webkit-user-drag': 'none',
'-webkit-app-region': 'no-drag',
};
});
export const StyledNewPageButton = styled('button')(({ theme }) => {