Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: kebab-case warning for CSS properties in dev mode (#2276)

Fangdun Tsaif071361347da
diff --git a/apps/web/src/components/pure/workspace-slider-bar/style.ts b/apps/web/src/components/pure/workspace-slider-bar/style.ts
index 64ef0be0df..290832960f 100644
--- a/apps/web/src/components/pure/workspace-slider-bar/style.ts
+++ b/apps/web/src/components/pure/workspace-slider-bar/style.ts
@@ -32,9 +32,9 @@ export const StyledLink = styled(Link)(() => {
userDrag: 'none',
userSelect: 'none',
appRegion: 'no-drag',
- '-webkit-user-select': 'none',
- '-webkit-user-drag': 'none',
- '-webkit-app-region': 'no-drag',
+ WebkitUserSelect: 'none',
+ WebkitUserDrag: 'none',
+ WebkitAppRegion: 'no-drag',
};
});
export const StyledNewPageButton = styled('button')(() => {