From b660a5dbbfac3f5c395b964ac83393eb69cb2f77 Mon Sep 17 00:00:00 2001 From: Viktor Fomin Date: Fri, 10 Nov 2023 15:04:37 +0300 Subject: [PATCH] Fix Bug 65021 --- .../categories/common/Branding/companyInfoSettings.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/client/src/pages/PortalSettings/categories/common/Branding/companyInfoSettings.js b/packages/client/src/pages/PortalSettings/categories/common/Branding/companyInfoSettings.js index cc735e995f..039d820faf 100644 --- a/packages/client/src/pages/PortalSettings/categories/common/Branding/companyInfoSettings.js +++ b/packages/client/src/pages/PortalSettings/categories/common/Branding/companyInfoSettings.js @@ -34,6 +34,7 @@ const StyledComponent = styled.div` .save-cancel-buttons { margin-top: 24px; + bottom: 0; } .description { @@ -45,6 +46,12 @@ const StyledComponent = styled.div` display: none; } } + + @media (max-height: 700px) { + .save-cancel-buttons { + bottom: auto; + } + } `; const CompanyInfoSettings = (props) => { @@ -443,6 +450,8 @@ const CompanyInfoSettings = (props) => { cancelButtonLabel={t("Common:Restore")} reminderText={t("YouHaveUnsavedChanges")} displaySettings={true} + hasScroll={true} + hideBorder={true} showReminder={(isSettingPaid && showReminder) || isLoading} disableRestoreToDefault={companyInfoSettingsIsDefault || isLoading} additionalClassSaveButton="company-info-save"