fix os windows top border color
This commit is contained in:
parent
829d0f22cc
commit
f20838c17e
|
@ -119,10 +119,11 @@ export function initFactory(): Function {
|
|||
const htmlEl = window.document.documentElement;
|
||||
htmlEl.classList.add('os_' + platformUtilsService.getDeviceString());
|
||||
htmlEl.classList.add('locale_' + i18nService.translationLocale);
|
||||
const theme = await storageService.get<string>(ConstantsService.themeKey);
|
||||
if (theme != null) {
|
||||
htmlEl.classList.add('theme_' + theme);
|
||||
let theme = await storageService.get<string>(ConstantsService.themeKey);
|
||||
if (theme == null) {
|
||||
theme = 'light';
|
||||
}
|
||||
htmlEl.classList.add('theme_' + theme);
|
||||
stateService.save(ConstantsService.disableFaviconKey,
|
||||
await storageService.get<boolean>(ConstantsService.disableFaviconKey));
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
@import "variables.scss";
|
||||
|
||||
html.os_windows {
|
||||
html.os_windows {
|
||||
body {
|
||||
border-top: 1px solid #000000;
|
||||
border-top: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
@include themify($themes) {
|
||||
border-top-color: themed('borderColorDark');
|
||||
}
|
||||
&.theme_dark body {
|
||||
border-top-color: #000000;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue