Skip to content

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

DEV: skip using `br` tag in header widget rendering.

Vinoth Kannan66976baefa52
diff --git a/app/assets/javascripts/discourse/app/widgets/header.js b/app/assets/javascripts/discourse/app/widgets/header.js
index d2d4d59f26c..68f56272d0e 100644
--- a/app/assets/javascripts/discourse/app/widgets/header.js
+++ b/app/assets/javascripts/discourse/app/widgets/header.js
@@ -94,8 +94,6 @@ createWidget("header-notifications", {
{},
h("h1.ring-first-notification", {}, [
h("span", {}, I18n.t("user.first_notification")),
- h("br"),
- h("br"),
h("span", {}, [
I18n.t("user.skip_new_user_tips.not_first_time"),
" ",
diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss
index 37d5ce67572..b2face00108 100644
--- a/app/assets/stylesheets/common/base/discourse.scss
+++ b/app/assets/stylesheets/common/base/discourse.scss
@@ -444,6 +444,11 @@ table {
width: 230px;
line-height: $line-height-medium;
+ > span:first-child {
+ display: inline-block;
+ margin-bottom: 36px;
+ }
+
.skip-new-user-tips {
font-size: $font-down-1;
color: var(--secondary);