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: use css `first-child` (#1145)

Himself6511ade8aeaf2e
diff --git a/apps/web/src/components/workspace-modal/styles.ts b/apps/web/src/components/workspace-modal/styles.ts
index 1abe775cb8..acdfe9fdfb 100644
--- a/apps/web/src/components/workspace-modal/styles.ts
+++ b/apps/web/src/components/workspace-modal/styles.ts
@@ -90,7 +90,7 @@ export const StyleUserInfo = styled.div(({ theme }) => {
lineHeight: '24px',
color: theme.colors.iconColor,
},
- 'p:nth-child(1)': {
+ 'p:first-child': {
color: theme.colors.textColor,
fontWeight: 600,
},