diff --git a/app/assets/stylesheets/embed.css.scss b/app/assets/stylesheets/embed.css.scss index cc4865d7a58..2f6b1ebf962 100644 --- a/app/assets/stylesheets/embed.css.scss +++ b/app/assets/stylesheets/embed.css.scss @@ -5,7 +5,7 @@ @import "./common/foundation/colors"; @import "./common/base/onebox"; -article { +article.post { border-bottom: 1px solid #ddd; &.deleted { @@ -113,7 +113,7 @@ img.emoji { color: #999; } -header { +header.discourse { padding: 10px 10px 20px 10px; font-size: 1.286em; border-bottom: 1px solid #ddd; diff --git a/app/views/embed/comments.html.erb b/app/views/embed/comments.html.erb index 0608da9d644..72974665ff9 100644 --- a/app/views/embed/comments.html.erb +++ b/app/views/embed/comments.html.erb @@ -1,4 +1,4 @@ -
+
<% if @topic_view.topic.posts_count < 2 %> <%= link_to(I18n.t('embed.start_discussion'), @topic_view.topic.url, class: 'button', target: '_blank') %> <% elsif @topic_view.topic.posts_count > 10 %>