mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
This commit fixes the asymmetric margin on banners by conditionally rendering the action buttons only if buttons are present. Otherwise, empty action buttons were being rendered in the DOM, applying the gap property between the banner label and the empty action buttons. Fixes: https://chat.zulip.org/#narrow/channel/9-issues/topic/asymmetric.20margin.20on.20banner.