Skip to content

A platform for community discussion. Free, open, simple.

FIX: correctlt styles notification-consent-banner (#8621)

Joffrey JAFFEUX2f37f446f8eb
diff --git a/app/assets/javascripts/discourse/templates/components/notification-consent-banner.hbs b/app/assets/javascripts/discourse/templates/components/notification-consent-banner.hbs
index 639456d461d..463b1b4f179 100644
--- a/app/assets/javascripts/discourse/templates/components/notification-consent-banner.hbs
+++ b/app/assets/javascripts/discourse/templates/components/notification-consent-banner.hbs
@@ -1,8 +1,20 @@
{{#if showNotificationPromptBanner}}
<div class="row">
<div class="consent_banner alert alert-info">
- {{d-button icon="times" action="dismiss" class="btn btn-flat close" title="banner.close"}}
- {{i18n "user.desktop_notifications.consent_prompt"}} {{d-button display="link" action=(action "turnon") label="user.desktop_notifications.enable"}}.
+ <span>
+ {{i18n "user.desktop_notifications.consent_prompt"}}
+ {{d-button
+ display="link"
+ action=(action "turnon")
+ label="user.desktop_notifications.enable"
+ }}
+ .
+ </span>
+ {{d-button
+ icon="times"
+ action="dismiss"
+ class="btn btn-flat close" title="banner.close"
+ }}
</div>
</div>
{{/if}}