[FIX] web_editor: make sidebar toolbar buttons smaller to avoid overflow

When a scrollbar appears in the sidebar, the toolbar could end up being
to wide, making a horizontal scrollbar appear. This commit makes the
toolbar buttons smaller (smaller padding) to avoid this.

closes odoo/odoo#119972

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
Antoine Guenet
2023-06-16 18:21:47 +02:00
parent 033b49e1a8
commit 06885a11e9
@@ -513,7 +513,7 @@
.btn {
@extend %we-generic-button;
display: flex;
padding: ($o-we-sidebar-content-field-height * .12) ($o-we-sidebar-content-field-button-group-button-spacing - 2);
padding: ($o-we-sidebar-content-field-height * .12) ($o-we-sidebar-content-field-button-group-button-spacing - 2.5);
}
#font-size > button {