-
{t(header)}
+
+ {isMobile() && isServicePage && (
+
+ )}
+ {t(header)}
+
{isNeedPaidIcon ? (
;
+ if (isMobile)
+ return (
+
+ );
if (!shouldRender) return
;
diff --git a/packages/client/src/pages/PortalSettings/categories/data-import/NextCloudWorkspace/index.js b/packages/client/src/pages/PortalSettings/categories/data-import/NextCloudWorkspace/index.js
index 3528cff9c5..8209feff81 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-import/NextCloudWorkspace/index.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-import/NextCloudWorkspace/index.js
@@ -27,7 +27,7 @@
import { useState, useEffect } from "react";
import { inject, observer } from "mobx-react";
import { withTranslation } from "react-i18next";
-import { isMobile } from "@docspace/shared/utils/device";
+import { isMobile } from "react-device-detect";
import { useNavigate } from "react-router-dom";
import useViewEffect from "SRC_DIR/Hooks/useViewEffect";
import styled from "styled-components";
@@ -125,8 +125,13 @@ const NextcloudWorkspace = (props) => {
return clearCheckedAccounts;
}, []);
- if (isMobile())
- return
;
+ if (isMobile)
+ return (
+
+ );
if (!tReady || !shouldRender) return
;
diff --git a/packages/client/src/pages/PortalSettings/categories/data-import/OnlyofficeWorkspace/index.js b/packages/client/src/pages/PortalSettings/categories/data-import/OnlyofficeWorkspace/index.js
index e2a4cda9a7..81717fbd5e 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-import/OnlyofficeWorkspace/index.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-import/OnlyofficeWorkspace/index.js
@@ -28,7 +28,8 @@ import { useState, useEffect } from "react";
import { inject, observer } from "mobx-react";
import { Trans, withTranslation } from "react-i18next";
import { getStepTitle, getWorkspaceStepDescription } from "../../../utils";
-import { tablet, isMobile } from "@docspace/shared/utils/device";
+import { tablet } from "@docspace/shared/utils/device";
+import { isMobile } from "react-device-detect";
import useViewEffect from "SRC_DIR/Hooks/useViewEffect";
import styled, { css } from "styled-components";
import { useNavigate } from "react-router-dom";
@@ -206,8 +207,13 @@ const OnlyofficeWorkspace = ({
return clearCheckedAccounts;
}, []);
- if (isMobile()) {
- return
;
+ if (isMobile) {
+ return (
+
+ );
}
if (!shouldRender) return
;
diff --git a/packages/client/src/pages/PortalSettings/categories/data-management/backup/StyledBackup.js b/packages/client/src/pages/PortalSettings/categories/data-management/backup/StyledBackup.js
index 1bc68118ef..49ebb53d3b 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-management/backup/StyledBackup.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-management/backup/StyledBackup.js
@@ -426,13 +426,13 @@ const StyledRestoreBackup = styled.div`
}
.restore-backup_button-container {
- padding-block: 30px;
position: sticky;
bottom: 0;
- margin-top: 32px;
+ margin-top: 24px;
background-color: ${({ theme }) => theme.backgroundColor};
@media ${mobile} {
+ padding-block: 30px;
position: fixed;
padding-inline: 16px;
inset-inline: 0;
diff --git a/packages/client/src/pages/PortalSettings/categories/data-management/backup/auto-backup/sub-components/RoomsModule.js b/packages/client/src/pages/PortalSettings/categories/data-management/backup/auto-backup/sub-components/RoomsModule.js
index 0c7425904c..aae764884b 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-management/backup/auto-backup/sub-components/RoomsModule.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-management/backup/auto-backup/sub-components/RoomsModule.js
@@ -59,6 +59,7 @@ class RoomsModule extends React.PureComponent {
isError={isError}
isDisabled={isLoadingData}
isRoomBackup
+ isSelectFolder
/>
diff --git a/packages/client/src/pages/PortalSettings/categories/data-management/backup/manual-backup/sub-components/ThirdPartyModule.js b/packages/client/src/pages/PortalSettings/categories/data-management/backup/manual-backup/sub-components/ThirdPartyModule.js
index 48c7a14042..307e37a615 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-management/backup/manual-backup/sub-components/ThirdPartyModule.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-management/backup/manual-backup/sub-components/ThirdPartyModule.js
@@ -128,6 +128,7 @@ class ThirdPartyModule extends React.Component {
withoutInitPath={!selectedFolder}
isError={isError}
buttonSize={buttonSize}
+ isSelectFolder
/>
{connectedThirdPartyAccount?.id && isTheSameThirdPartyAccount && (
diff --git a/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/RoomsModule.js b/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/RoomsModule.js
index 34efbe687c..859f567753 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/RoomsModule.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/RoomsModule.js
@@ -48,6 +48,7 @@ const RoomsModule = (props) => {
onSelectFile={onSelectFile}
filterParam={FilesSelectorFilterTypes.BackupOnly}
descriptionText={t("SelectFileInGZFormat")}
+ isSelect
/>
);
};
diff --git a/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/ThirdPartyResourcesModule.js b/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/ThirdPartyResourcesModule.js
index 89f1f4131d..03ddffcd03 100644
--- a/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/ThirdPartyResourcesModule.js
+++ b/packages/client/src/pages/PortalSettings/categories/data-management/backup/restore-backup/sub-components/ThirdPartyResourcesModule.js
@@ -50,6 +50,7 @@ const ThirdPartyResources = (props) => {
withoutInitPath
buttonSize={buttonSize}
isMobileScale
+ isSelect
/>
);
diff --git a/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/styled-components/Hint.js b/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/styled-components/Hint.js
index be2a6b1640..b3e16e0163 100644
--- a/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/styled-components/Hint.js
+++ b/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/styled-components/Hint.js
@@ -29,9 +29,8 @@ import styled, { css } from "styled-components";
export const Hint = styled.div`
box-sizing: border-box;
padding: 8px 12px;
- background: ${(props) =>
- props.backgroundColor ? props.backgroundColor : "#f8f7bf"};
- color: ${(props) => (props.color ? props.color : "initial")};
+ background: ${(props) => props.theme.tooltip.backgroundColor};
+ color: ${(props) => props.theme.tooltip.textColor};
border-radius: 6px;
font-weight: 400;
font-size: ${(props) => props.theme.getCorrectFontSize("12px")};
diff --git a/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/sub-components/SecretKeyInput.js b/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/sub-components/SecretKeyInput.js
index 4f5ea64788..bf779f5ebd 100644
--- a/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/sub-components/SecretKeyInput.js
+++ b/packages/client/src/pages/PortalSettings/categories/developer-tools/Webhooks/sub-components/SecretKeyInput.js
@@ -44,6 +44,7 @@ const SecretKeyWrapper = styled.div`
.link {
display: inline-block;
margin-top: 6px;
+ color: ${(props) => props.theme.tooltip.textColor};
}
.dotted {
@@ -159,7 +160,6 @@ const SecretKeyInput = (props) => {
isHovered={true}
onClick={hideReset}
className="link"
- color="#333333"
>
{t("ResetKey")}
diff --git a/packages/client/src/pages/PortalSettings/categories/integration/SMTPSettings/sub-components/CustomSettings.js b/packages/client/src/pages/PortalSettings/categories/integration/SMTPSettings/sub-components/CustomSettings.js
index 55051724a2..20639c5b73 100644
--- a/packages/client/src/pages/PortalSettings/categories/integration/SMTPSettings/sub-components/CustomSettings.js
+++ b/packages/client/src/pages/PortalSettings/categories/integration/SMTPSettings/sub-components/CustomSettings.js
@@ -114,7 +114,7 @@ const CustomSettings = (props) => {