From 3bcdd860f0eb3cc24c413f41ce3b36d1f0f4fe3e Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Wed, 22 Jun 2022 12:31:50 +0200 Subject: [PATCH] [REF] odoo_theme: move scrollbar styling to `.o_side_nav-inner` X-original-commit: b9ca38215d92d6f1c9a79bae51a00d0a630f51c3 --- extensions/odoo_theme/static/style.scss | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index b83816112..7633dc1f6 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -225,6 +225,18 @@ header { padding-top: $padding-m; padding-left: $padding-m; } + &::-webkit-scrollbar { + width: 5px; + } + + &::-webkit-scrollbar-track { + background: $white; + } + + &::-webkit-scrollbar-thumb { + background-color: $o-violet-darker ; + border-radius: 0; + } } &.show { @@ -299,19 +311,6 @@ header { } } - - &::-webkit-scrollbar { - width: 5px; - } - - &::-webkit-scrollbar-track { - background: $white; - } - - &::-webkit-scrollbar-thumb { - background-color: $o-violet-darker ; - border-radius: 0; - } } .o_main_toc, .o_page_toc_nav {