Merge pull request #1961 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
This commit is contained in:
commit
11f115cac4
|
@ -61,7 +61,6 @@
|
|||
// Snackbar
|
||||
.snackbar {
|
||||
max-width: 195px;
|
||||
max-height: 48px;
|
||||
position: absolute;
|
||||
bottom: 24px;
|
||||
left: calc(50% - 195px / 2);
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue