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
|
* changes scrollbar styles to be consistent across OS borders
|
||||||
*/
|
*/
|
||||||
export const scrollBarStyles = `
|
export const scrollBarStyles = (() => {
|
||||||
|
const returnStyles = navigator.userAgent.indexOf("Windows") !== -1 ? `
|
||||||
/* width */
|
/* width */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
@ -23,7 +24,8 @@ export const scrollBarStyles = `
|
|||||||
::-webkit-scrollbar-thumb:hover {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
background: #777;
|
background: #777;
|
||||||
}
|
}
|
||||||
`;
|
` : ``;
|
||||||
|
})();
|
||||||
|
|
||||||
export const setupGlobalTheme = (domToolsInstance: DomTools) => {
|
export const setupGlobalTheme = (domToolsInstance: DomTools) => {
|
||||||
const styles = `
|
const styles = `
|
||||||
|
Loading…
Reference in New Issue
Block a user