fix the positioning for replies

fix stubs
This commit is contained in:
Sam 2013-06-19 18:23:01 +10:00
parent 6a9484155d
commit 6491bda4ab
2 changed files with 7 additions and 3 deletions

View File

@ -548,6 +548,10 @@
@include box-shadow(0 1px 2px rgba($black, 0.07));
}
.contents.avoid-tab {
.topic-meta-data-inside {
position: relative;
top: -30px;
}
padding-top: 30px;
.cooked {
padding-top: 10px;

View File

@ -5,9 +5,9 @@ require 'spec_helper'
describe PostAction do
before do
SiteSetting.flags_required_to_hide_post = 0 # never
SiteSetting.num_flags_to_block_new_user = 2
SiteSetting.num_users_to_block_new_user = 2
SiteSetting.stubs(:flags_required_to_hide_post).returns(0) # never
SiteSetting.stubs(:num_flags_to_block_new_user).returns(2)
SiteSetting.stubs(:num_users_to_block_new_user).returns(2)
end
Given!(:admin) { Fabricate(:admin) } # needed to send a system message