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(component): correct notification card's border radius (#10802)

CatsJuice54ee2ee5ecf1
diff --git a/packages/frontend/component/src/ui/notification/desktop/styles.css.ts b/packages/frontend/component/src/ui/notification/desktop/styles.css.ts
index 027a07197a..05c39a69de 100644
--- a/packages/frontend/component/src/ui/notification/desktop/styles.css.ts
+++ b/packages/frontend/component/src/ui/notification/desktop/styles.css.ts
@@ -8,14 +8,11 @@ export const actionTextColor = createVar();
export const iconColor = createVar();
export const closeIconColor = createVar();
-export const cardWrapper = style({
- borderRadius: 8,
- boxShadow: cssVar('shadow1'),
- overflow: 'hidden',
-});
+export const cardWrapper = style({});
export const card = style({
- borderRadius: 'inherit',
+ borderRadius: 8,
+ boxShadow: cssVar('shadow1'),
borderWidth: 1,
borderStyle: 'solid',
backgroundColor: cardColor,