From f258aa28186c897b4146c35a351ad07732f80f5b Mon Sep 17 00:00:00 2001 From: Timmo Date: Fri, 12 Jul 2019 21:08:51 +0100 Subject: [PATCH] Replace standard browser scrollbar for overview and sidebar (#3350) * :scroll: Replace standard browser scrollbar for overview and sidebar * :hammer: Remove from main --- src/components/ha-sidebar.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/ha-sidebar.ts b/src/components/ha-sidebar.ts index fddaa2b958..dc62678da0 100644 --- a/src/components/ha-sidebar.ts +++ b/src/components/ha-sidebar.ts @@ -412,6 +412,17 @@ class HaSidebar extends LitElement { display: initial; } + ::-webkit-scrollbar { + width: 0.4rem; + height: 0.4rem; + } + + ::-webkit-scrollbar-thumb { + -webkit-border-radius: 4px; + border-radius: 4px; + background: var(--secondary-text-color); + } + paper-listbox { padding: 4px 0; display: flex;