fix(core): update

This commit is contained in:
Philipp Kunz 2022-05-01 16:42:37 +02:00
parent 989d4d35d2
commit e5056a7be3
2 changed files with 27 additions and 21 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@designestate/dees-domtools',
version: '2.0.20',
description: 'tools to simplify complex css structures'
}

View File

@ -6,12 +6,11 @@ import { css, unsafeCSS } from 'lit';
* changes scrollbar styles to be consistent across OS borders
*/
export const scrollBarStyles: string = (() => {
const returnStyles =
navigator.userAgent.indexOf('Mac OS X') === -1
? css`
const returnStylesOld = navigator.userAgent.indexOf('Mac OS X') === -1 ? css``.cssText : ``;
const returnStyles = css`
/* width */
::-webkit-scrollbar {
width: 6px;
width: 0px;
}
/* Track */
@ -28,8 +27,7 @@ export const scrollBarStyles: string = (() => {
::-webkit-scrollbar-thumb:hover {
background: #777;
}
`.cssText
: ``;
`.cssText;
return returnStyles;
})();