fix(core): update
This commit is contained in:
parent
6d6c92eee4
commit
3cb0aceaad
@ -3,7 +3,8 @@ import { DomTools } from './domtools.classes.domtools';
|
||||
/**
|
||||
* changes scrollbar styles to be consistent across OS borders
|
||||
*/
|
||||
export const scrollBarStyles = `
|
||||
export const scrollBarStyles = (() => {
|
||||
const returnStyles = navigator.userAgent.indexOf("Windows") !== -1 ? `
|
||||
/* width */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
@ -23,7 +24,8 @@ export const scrollBarStyles = `
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #777;
|
||||
}
|
||||
`;
|
||||
` : ``;
|
||||
})();
|
||||
|
||||
export const setupGlobalTheme = (domToolsInstance: DomTools) => {
|
||||
const styles = `
|
||||
|
Loading…
Reference in New Issue
Block a user