diff --git a/app/assets/javascripts/discourse/templates/composer.js.handlebars b/app/assets/javascripts/discourse/templates/composer.js.handlebars index 83675e2e31b..70cdd2cdb92 100644 --- a/app/assets/javascripts/discourse/templates/composer.js.handlebars +++ b/app/assets/javascripts/discourse/templates/composer.js.handlebars @@ -2,20 +2,22 @@
- +
+ -
diff --git a/app/assets/stylesheets/application/compose.css.scss b/app/assets/stylesheets/application/compose.css.scss index c0cefe544ee..4d3e113c5cd 100644 --- a/app/assets/stylesheets/application/compose.css.scss +++ b/app/assets/stylesheets/application/compose.css.scss @@ -8,6 +8,12 @@ width: 47%; } +.composer-popup-container { + max-width: 1500px; + margin-left: auto; + margin-right: auto; +} + .composer-popup { @include box-shadow(3px 3px 3px rgba($black, 0.14)); @@ -52,6 +58,11 @@ a[href] { color: #000; } + + .posts-count { + color: darken(#b5e8fd, 50%); + font-size: 12px; + } } .composer-popup:nth-of-type(2) { diff --git a/app/serializers/basic_topic_serializer.rb b/app/serializers/basic_topic_serializer.rb index ec3456eea38..22703a9d57d 100644 --- a/app/serializers/basic_topic_serializer.rb +++ b/app/serializers/basic_topic_serializer.rb @@ -2,5 +2,5 @@ require_dependency 'age_words' # The most basic attributes of a topic that we need to create a link for it. class BasicTopicSerializer < ApplicationSerializer - attributes :id, :fancy_title, :slug + attributes :id, :fancy_title, :slug, :posts_count end diff --git a/app/serializers/listable_topic_serializer.rb b/app/serializers/listable_topic_serializer.rb index 2ec23383c18..f53a7ef1362 100644 --- a/app/serializers/listable_topic_serializer.rb +++ b/app/serializers/listable_topic_serializer.rb @@ -3,7 +3,6 @@ require_dependency 'age_words' class ListableTopicSerializer < BasicTopicSerializer attributes :reply_count, - :posts_count, :highest_post_number, :image_url, :created_at,