Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
banners: Fix asymmetric margin on banners.
Maneesh Shukla224fd3df6bdf
diff --git a/web/templates/components/banner.hbs b/web/templates/components/banner.hbsindex 1b7104f0062..e8062fd429e 100644--- a/web/templates/components/banner.hbs+++ b/web/templates/components/banner.hbs@@ -7,15 +7,17 @@{{> @partial-block .}}{{/if}}</span>- <span class="banner-action-buttons">- {{#each buttons}}- {{#if this.intent}}- {{> action_button .}}- {{else}}- {{> action_button . intent=../intent}}- {{/if}}- {{/each}}- </span>+ {{#if buttons}}+ <span class="banner-action-buttons">+ {{#each buttons}}+ {{#if this.intent}}+ {{> action_button .}}+ {{else}}+ {{> action_button . intent=../intent}}+ {{/if}}+ {{/each}}+ </span>+ {{/if}}</span>{{#if close_button}}{{> icon_button custom_classes="banner-close-action banner-close-button" icon="close" intent=intent}}