mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: disable slider bar link item drag (#2010)
This commit is contained in:
@@ -69,6 +69,12 @@ export const StyledLink = styled(Link)(() => {
|
|||||||
':visited': {
|
':visited': {
|
||||||
color: 'inherit',
|
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 }) => {
|
export const StyledNewPageButton = styled('button')(({ theme }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user