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(core): scrolling break client style in bordered container (#7650)

liuyi67248316bd74
diff --git a/packages/frontend/core/src/components/workspace/index.css.ts b/packages/frontend/core/src/components/workspace/index.css.ts
index c7527337eb..0fe123c0d9 100644
--- a/packages/frontend/core/src/components/workspace/index.css.ts
+++ b/packages/frontend/core/src/components/workspace/index.css.ts
@@ -55,7 +55,7 @@ export const mainContainerStyle = style({
'&[data-client-border="true"]': {
borderRadius: 6,
margin: '8px',
- overflow: 'hidden',
+ overflow: 'clip',
// TODO(@Peng): is this performance intensive?
// TODO(@catsjuice): not match with design's shadow, theme missing
filter: 'drop-shadow(0px 0px 4px rgba(66,65,73,.14))',