[FIX] web_editor: prevent horizontal overflow of toolbar in website
Since the introduction of the strikethrough button, the text toolbar overflowed website's sidebar. This reduces their size so they don't overflow. task-2758967 closes odoo/odoo#84190 X-original-commit: 896c64cdf74e5c602a92a28f95f79e20c08ffd87 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com> Signed-off-by: Antoine Guenet <age@odoo.com>
This commit is contained in:
@@ -510,8 +510,7 @@ body.editor_enable.editor_has_snippets {
|
||||
.btn {
|
||||
@extend %we-generic-button;
|
||||
display: flex;
|
||||
padding-top: $o-we-sidebar-content-field-height * .12;
|
||||
padding-bottom: $o-we-sidebar-content-field-height * .12;
|
||||
padding: ($o-we-sidebar-content-field-height * .12) ($o-we-sidebar-content-field-button-group-button-spacing - 2);
|
||||
}
|
||||
|
||||
we-customizeblock-option {
|
||||
|
||||
Reference in New Issue
Block a user