Merge pull request #1961 from ONLYOFFICE/feature/fix-bugs

Feature/fix bugs
This commit is contained in:
maxkadushkin 2022-09-15 10:23:08 +03:00 committed by GitHub
commit 11f115cac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View file

@ -61,7 +61,6 @@
// Snackbar
.snackbar {
max-width: 195px;
max-height: 48px;
position: absolute;
bottom: 24px;
left: calc(50% - 195px / 2);

View file

@ -46,21 +46,23 @@ const PageApplicationSettings = props => {
}}
/>
</ListItem>
<ListItem title={t('View.Settings.textDarkTheme')}>
<Toggle checked={isThemeDark}
onToggleChange={() => {Themes.switchDarkTheme(!isThemeDark), setIsThemeDark(!isThemeDark)}}>
</Toggle>
</ListItem>
</List>
{/*<RTLSetting />*/}
</Fragment>
}
<List>
<ListItem title={t('View.Settings.textDarkTheme')}>
<Toggle checked={isThemeDark}
onToggleChange={() => {Themes.switchDarkTheme(!isThemeDark), setIsThemeDark(!isThemeDark)}}>
</Toggle>
</ListItem>
</List>
{/* {_isShowMacros && */}
<List mediaList>
<ListItem title={_t.textMacrosSettings} link="/macros-settings/" routeProps={{
setMacrosSettings: props.setMacrosSettings
}}></ListItem>
</List>
<List mediaList>
<ListItem title={_t.textMacrosSettings} link="/macros-settings/" routeProps={{
setMacrosSettings: props.setMacrosSettings
}}></ListItem>
</List>
{/* } */}
</Page>
);