From ab6f8a9e8a04a37e42119d2427e08fac5d76328d Mon Sep 17 00:00:00 2001 From: gopienkonikita Date: Fri, 2 Aug 2024 14:13:55 +0300 Subject: [PATCH] Web: Doceditor: FilePassword: fixed text styles --- .../src/components/file-password/FilePassword.styled.ts | 4 ++++ packages/doceditor/src/components/file-password/index.tsx | 1 - public/locales/en/Common.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/doceditor/src/components/file-password/FilePassword.styled.ts b/packages/doceditor/src/components/file-password/FilePassword.styled.ts index 11e1668fb5..9173ea5248 100644 --- a/packages/doceditor/src/components/file-password/FilePassword.styled.ts +++ b/packages/doceditor/src/components/file-password/FilePassword.styled.ts @@ -124,6 +124,10 @@ export const StyledContent = styled.div` justify-content: start; min-height: 100%; } + + .bold { + font-weight: 600; + } `; export const StyledBody = styled.div` diff --git a/packages/doceditor/src/components/file-password/index.tsx b/packages/doceditor/src/components/file-password/index.tsx index ffa7df38ef..231ae0d68b 100644 --- a/packages/doceditor/src/components/file-password/index.tsx +++ b/packages/doceditor/src/components/file-password/index.tsx @@ -34,7 +34,6 @@ import { Button, ButtonSize } from "@docspace/shared/components/button"; import { FieldContainer } from "@docspace/shared/components/field-container"; import { PasswordInput } from "@docspace/shared/components/password-input"; import { FormWrapper } from "@docspace/shared/components/form-wrapper"; -import PortalLogo from "@docspace/shared/components/portal-logo/PortalLogo"; import { StyledPage, diff --git a/public/locales/en/Common.json b/public/locales/en/Common.json index 7077619c4a..b51437927f 100644 --- a/public/locales/en/Common.json +++ b/public/locales/en/Common.json @@ -277,7 +277,7 @@ "MyDocuments": "My documents", "Name": "Name", "NeedPassword": "You need a password to access the room", - "EnterPasswordDescription": "File «<1>{{fileName}}» is located in the password-protected room. Please enter a password for the room", + "EnterPasswordDescription": "File <1>«{{fileName}}» is located in the password-protected room. Please enter a password for the room", "PasswordRequired": "Password required", "NewDocument": "New document", "NewFolder": "New folder",