From e7d6b2599821618a1a4c722bd9cb0321d0073664 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 19 Jun 2013 14:44:36 +1000 Subject: [PATCH] shuffle around the topic metadata so we don't need absolute positioning --- .../discourse/templates/post.js.handlebars | 29 ++++++++++--------- .../application/topic-post.css.scss | 6 ++-- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/post.js.handlebars b/app/assets/javascripts/discourse/templates/post.js.handlebars index ba30ebdb9fa..e4e6d7d1ee5 100644 --- a/app/assets/javascripts/discourse/templates/post.js.handlebars +++ b/app/assets/javascripts/discourse/templates/post.js.handlebars @@ -10,20 +10,6 @@
{{#if controller.multiSelect}} - {{else}} - {{/if}} {{#if showUserReplyTab}} @@ -48,6 +34,21 @@
{{view Discourse.PrependPostView postBinding="this"}} + {{#unless controller.multiSelect}} + + {{/unless}} {{view Discourse.RawDivView class="cooked" contentBinding="cooked"}} {{view Discourse.PostMenuView postBinding="this" postViewBinding="view"}}
diff --git a/app/assets/stylesheets/application/topic-post.css.scss b/app/assets/stylesheets/application/topic-post.css.scss index 8803aa4d4b0..69086f58462 100644 --- a/app/assets/stylesheets/application/topic-post.css.scss +++ b/app/assets/stylesheets/application/topic-post.css.scss @@ -495,14 +495,12 @@ z-index: 490; } .topic-meta-data-inside { - position: absolute; - top: 4px; - right: 316px; + float: right; + margin-right: 10px; z-index: 490; .post-info { font-size: 12px; display: inline-block; - float: right; margin-right: 12px; &:first-child { margin-right: 0;