From 03509c1e99f6007e92bd795ee1d4e911404d2304 Mon Sep 17 00:00:00 2001 From: gopienkonikita Date: Wed, 7 Aug 2024 12:23:07 +0300 Subject: [PATCH] Fix Bug 69590 - Rooms.Public. Fixed file-password styles --- .../file-password/FilePassword.styled.ts | 12 ++ .../src/components/file-password/index.tsx | 158 +++++++++--------- 2 files changed, 92 insertions(+), 78 deletions(-) diff --git a/packages/doceditor/src/components/file-password/FilePassword.styled.ts b/packages/doceditor/src/components/file-password/FilePassword.styled.ts index 9173ea5248..5c714e4962 100644 --- a/packages/doceditor/src/components/file-password/FilePassword.styled.ts +++ b/packages/doceditor/src/components/file-password/FilePassword.styled.ts @@ -43,6 +43,7 @@ export const StyledPage = styled.div` .logo-wrapper { display: block; + padding-bottom: 64px; } @media ${mobile} { @@ -85,6 +86,17 @@ export const StyledPage = styled.div` margin-bottom: 32px; } + .public-room_content-wrapper { + display: flex; + flex-direction: column; + -webkit-box-align: center; + align-items: center; + margin: 0px auto; + max-width: 960px; + box-sizing: border-box; + height: 100%; + } + .public-room-content { padding-top: 9%; justify-content: unset; diff --git a/packages/doceditor/src/components/file-password/index.tsx b/packages/doceditor/src/components/file-password/index.tsx index 231ae0d68b..275ed417f2 100644 --- a/packages/doceditor/src/components/file-password/index.tsx +++ b/packages/doceditor/src/components/file-password/index.tsx @@ -111,7 +111,7 @@ const FilesPassword = ({ shareKey, title, entryTitle }: FilePasswordProps) => { return ( <> - + { /> - - - icon +
+ + + icon - -
- - {t("Common:PasswordRequired")} - - - - }} - /> - -
- - - {title} + +
+ + {t("Common:PasswordRequired")} + + + }} + /> + +
+ + + {title} + +
+ + + +
- - - -
- -
);