[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#1669

X-original-commit: ac28acee4a
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Elisabeth Dickinson 2022-03-08 14:38:40 +00:00
parent 0c133def8c
commit e532e213f5

View File

@ -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;
}
}
}