From 11ade8aeaf2eb511efd910e6a6904588e55dc38e Mon Sep 17 00:00:00 2001 From: Himself65 Date: Tue, 21 Feb 2023 01:59:26 -0600 Subject: [PATCH] fix: use css `first-child` (#1145) --- apps/web/src/components/workspace-modal/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },