firefox: compat tweaks

This commit is contained in:
bordun 2020-04-24 13:26:46 +02:00
parent 6de2a761ab
commit 0524ddab5a
2 changed files with 12 additions and 2 deletions

View file

@ -38,13 +38,19 @@ osc-inspector-field {
background: var(--color-background);
cursor: text;
user-select: initial;
--scrollbar-size: 6rem;
// Chromium scrollbar
&::-webkit-scrollbar-thumb:horizontal {
// border-top: 4rem solid var(--color-background);
cursor: normal;
}
// Firefox scrollbar (hidden to preserve height)
scrollbar-width: none;
}

View file

@ -1,3 +1,5 @@
// Chromium
::-webkit-scrollbar {
width: var(--scrollbar-size);
height:var(--scrollbar-size);
@ -38,7 +40,9 @@
}
// Firefox
* {
scrollbar-color: var(--color-scrollbar) var(--color-background);
scrollbar-width: thin;
scrollbar-width: normal;
}