Common: Loaders: fix

This commit is contained in:
Viktor Fomin 2023-09-28 12:34:01 +03:00
parent 8618e6de32
commit cf2b15795a

View File

@ -6,8 +6,8 @@ import Box from "@docspace/components/box";
const speed = 2;
const heightText = "20px";
const heightRadio = "16px";
const sectionGap = "16px";
const sectionsGap = "32px";
const sectionGap = "12px";
const sectionsGap = "12px";
const Setting = ({ width = "280px" }) => (
<Box
@ -96,10 +96,8 @@ const SettingsCommonLoader = ({ isAdmin = false }) => (
displayProp="grid"
style={{ gridGap: sectionsGap }}
>
{isAdmin && <SettingsTabs />}
<SettingsSection width1={"281px"} width2={"351px"} withTitle={!isAdmin} />
<SettingsSection width1={"103px"} width2={"89px"} />
<SettingsSection width1={"650px"} width2={"248px"} />
<SettingsSection width1={"225px"} width2={"281px"} withTitle={false} />
<SettingsSection width1={"324px"} width2={"351px"} withTitle={false} />
</Box>
);