From d1b74862fc6da50aec83ff4c019fcfa6fd91d4d8 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Mon, 8 Mar 2021 10:57:11 +0100 Subject: [PATCH] Fix scroll on local toctree --- extensions/odoo_theme/static/style.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index 65e18567b..9d6b27208 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -244,8 +244,10 @@ header.o_main_header{ top: $o-header-height; right: 0; width: $o-on-page-width; - height: calc(100% - #{$o-header-height}); + height: 100%; + max-height: calc(100vh - #{$o-header-height}); padding: 3rem 3rem 3rem 0; + overflow-y: auto; } h3 {