From 66d3bf35d03d39882a6bf5ad6938d2b422e0ff8c Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Tue, 8 Mar 2022 14:38:40 +0000 Subject: [PATCH] [IMP] scss: content tabs refining This commit removes unnecessary negative margins and makes code-blocks inside content tabs lose their bottom margin and border. closes odoo/documentation#1673 X-original-commit: ac28acee4aa8d165d5f9c9851dc0d3ebb4e8ec9f Signed-off-by: Antoine Vandevenne (anv) --- extensions/odoo_theme/static/style.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index 44b096b21..04620701c 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -1051,12 +1051,10 @@ header.o_main_header { &:first-of-type { border-left: solid 1px $gray-light; - margin-left: -1px; } &:last-of-type { border-right: solid 1px $gray-light; - margin-right: -1px; } &:focus { @@ -1083,11 +1081,18 @@ header.o_main_header { color: $gray-900; border: 1px solid $gray-light; padding: 1rem; - margin: 0 -1px -1px -1px; &:focus { outline: none; } + + > div[class^="highlight-"]{ + border: 0 !important; + } + + > *:last-child { + margin-bottom: 0 !important; + } } }