[FIX] web_editor: fixing border-radius on dropdown menu entries

Prior to this commit, every dropdown menu entries in the web editor
had a border-radius on them. It didn't look consistent and clean.

This commit fixes those menu entries by either removing or applying a
correct border-radius.

closes odoo/odoo#78492

X-original-commit: 0239ab7efcaf3895ffb14a56a0686cf5a80bb529
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
xlu-odoo
2021-10-18 10:21:53 +00:00
parent 2e57d784d3
commit 6dd4ddab2b
@@ -726,6 +726,7 @@ body.editor_enable.editor_has_snippets {
+ * {
display: none !important;
border: $o-we-sidebar-content-field-dropdown-border-width solid $o-we-sidebar-content-field-dropdown-border-color;
border-radius: $o-we-item-border-radius;
background-color: $o-we-sidebar-content-field-dropdown-bg;
box-shadow: $o-we-sidebar-content-field-dropdown-shadow;
}
@@ -1012,6 +1013,7 @@ body.editor_enable.editor_has_snippets {
background-clip: padding-box;
background-color: $o-we-sidebar-content-field-dropdown-item-bg;
color: $o-we-sidebar-content-field-dropdown-item-color;
border-radius: 0;
> we-title {
flex-grow: 1;
@@ -1137,10 +1139,10 @@ body.editor_enable.editor_has_snippets {
+ we-button {
border-left: none;
}
&:first-child {
&:first-child, .active:first-child {
@include border-left-radius($o-we-sidebar-content-field-border-radius);
}
&:last-child {
&:last-child, .active:last-child {
@include border-right-radius($o-we-sidebar-content-field-border-radius);
}
}