From eb1ddf99cb034b4badb22a24f55160dc9cfab5f8 Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Tue, 22 Sep 2020 08:36:56 +0000 Subject: [PATCH] [FIX] mail: align the chatter topbar height and form view statusbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2341787 closes odoo/odoo#58262 X-original-commit: 37a0203c1cfb2567c418016424cd04dea27e2557 Signed-off-by: Sébastien Theys (seb) --- .../static/src/components/chatter_topbar/chatter_topbar.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/mail/static/src/components/chatter_topbar/chatter_topbar.scss b/addons/mail/static/src/components/chatter_topbar/chatter_topbar.scss index 72431aad60e..b4000c8a65e 100644 --- a/addons/mail/static/src/components/chatter_topbar/chatter_topbar.scss +++ b/addons/mail/static/src/components/chatter_topbar/chatter_topbar.scss @@ -6,6 +6,11 @@ display: flex; flex-direction: row; justify-content: space-between; + // We need the +1 to handle the status bar border-bottom. + // The var is called `$o-statusbar-height`, but is used on button, therefore + // doesn't include the border-bottom. + // We use min-height to allow multiples buttons lines on mobile. + min-height: $o-statusbar-height + 1; } .o_ChatterTopbar_actions {