diff --git a/app/assets/javascripts/discourse/templates/user/summary.hbs b/app/assets/javascripts/discourse/templates/user/summary.hbs
index 40c2fa3581a..b8d433a9171 100644
--- a/app/assets/javascripts/discourse/templates/user/summary.hbs
+++ b/app/assets/javascripts/discourse/templates/user/summary.hbs
@@ -16,7 +16,7 @@
-
+
{{i18n "user.summary.top_replies"}}
{{#if model.replies.length}}
-
+
{{i18n "user.summary.top_topics"}}
{{#if model.topics.length}}
-
+
{{i18n "user.summary.top_links"}}
{{#if model.links.length}}
-
+
{{i18n "user.summary.most_liked_by"}}
{{#if model.most_liked_by_users.length}}
diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss
index fd06ec67957..8a3fd7b8087 100644
--- a/app/assets/stylesheets/common/base/user.scss
+++ b/app/assets/stylesheets/common/base/user.scss
@@ -198,10 +198,7 @@
}
.top-section,
-.replies-section,
-.topics-section,
-.links-section,
-.likes-section {
+.top-sub-section {
margin-bottom: 20px;
}
@@ -236,10 +233,7 @@
}
}
-.replies-section,
-.topics-section,
-.links-section,
-.likes-section {
+.top-sub-section {
width: 50%;
ul {
@@ -272,8 +266,7 @@
@media all
and (max-width : 600px) {
- .replies-section,
- .topics-section {
+ .top-sub-section {
float: none;
width: 100%;
}