[FIX] web: remove unnecessary classes from Notebook

This commit removes the 'bg-white' and 'pt-3' classes used in
the Notebook template since commit https://github.com/odoo/odoo/commit/68f1c90a031a7c2f751d9c8eca7ff525e9f7e206.
Now that the component is used by other components, such as the
media dialog from web_editor, it is not appropriate to add such
style in the core component.

Also, removing the bg-white class has no concrete effect in form
views, so it can be removed safely.

closes odoo/odoo#100253

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
luvi
2022-09-19 16:10:13 +02:00
parent 18270691d4
commit 09fbdc9abd
2 changed files with 5 additions and 5 deletions
@@ -1,7 +1,7 @@
.o_notebook {
--notebook-margin-x: 0;
--notebook-padding-x: 0;
--notebook-link-border-color: transparent;
--notebook-link-border-color: transparent;
--notebook-link-border-color-active: #{$border-color};
--notebook-link-border-color-hover: #{$gray-200};
--notebook-link-border-color-active-accent: #{$border-color};
@@ -18,7 +18,7 @@
.nav-item {
white-space: nowrap;
}
.nav-link {
border: 1px solid var(--notebook-link-border-color, transparent);
@@ -47,7 +47,7 @@
width: max-content;
border-bottom: 1px solid var(--notebook-link-border-color);
}
.nav-item {
margin: 0 -1px -1px 0;
@@ -55,7 +55,7 @@
border-top-width: 0;
}
}
.nav-link {
border: 1px solid var(--notebook-link-border-color, transparent);
@@ -10,7 +10,7 @@
</li>
</ul>
</div>
<div class="o_notebook_content bg-white pt-3 tab-content">
<div class="o_notebook_content tab-content">
<div class="tab-pane active" t-ref="activePane">
<t t-if="page" t-component="page.Component" t-key="state.currentPage" t-props="page.props" />
<t t-else="" t-slot="{{ state.currentPage }}" />