mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix scrollbar on Firefox (#3357)
This commit is contained in:
parent
f258aa2818
commit
8f3d5fdb7d
@ -412,15 +412,15 @@ class HaSidebar extends LitElement {
|
||||
display: initial;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
paper-listbox::-webkit-scrollbar {
|
||||
width: 0.4rem;
|
||||
height: 0.4rem;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
paper-listbox::-webkit-scrollbar-thumb {
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
background: var(--secondary-text-color);
|
||||
background: var(--scrollbar-thumb-color);
|
||||
}
|
||||
|
||||
paper-listbox {
|
||||
@ -431,6 +431,8 @@ class HaSidebar extends LitElement {
|
||||
height: calc(100% - 196px);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scrollbar-color: var(--scrollbar-thumb-color) transparent;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
a {
|
||||
|
@ -31,6 +31,8 @@ documentContainer.innerHTML = `<custom-style>
|
||||
--accent-color: #ff9800;
|
||||
--divider-color: rgba(0, 0, 0, .12);
|
||||
|
||||
--scrollbar-thumb-color: rgb(194, 194, 194);
|
||||
|
||||
/* states and badges */
|
||||
--state-icon-color: #44739e;
|
||||
--state-icon-active-color: #FDD835;
|
||||
|
Loading…
x
Reference in New Issue
Block a user