diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index 9bd66d351..98506d4e1 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -890,7 +890,7 @@ header { border-width: 0 0 0 $alert-border-width; @include font-size($font-size-sm); - code, div[class^="highlight"] { + > *:not(.sphinx-tabs) .o_code, > *:not(.sphinx-tabs) div[class^="highlight"] { background-color: $white !important; border: 1px solid var(--o-alert-code-border-color,#{$o-gray-border}) ; color: inherit;