mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix the positioning for replies
fix stubs
This commit is contained in:
@@ -548,6 +548,10 @@
|
|||||||
@include box-shadow(0 1px 2px rgba($black, 0.07));
|
@include box-shadow(0 1px 2px rgba($black, 0.07));
|
||||||
}
|
}
|
||||||
.contents.avoid-tab {
|
.contents.avoid-tab {
|
||||||
|
.topic-meta-data-inside {
|
||||||
|
position: relative;
|
||||||
|
top: -30px;
|
||||||
|
}
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
.cooked {
|
.cooked {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ require 'spec_helper'
|
|||||||
describe PostAction do
|
describe PostAction do
|
||||||
|
|
||||||
before do
|
before do
|
||||||
SiteSetting.flags_required_to_hide_post = 0 # never
|
SiteSetting.stubs(:flags_required_to_hide_post).returns(0) # never
|
||||||
SiteSetting.num_flags_to_block_new_user = 2
|
SiteSetting.stubs(:num_flags_to_block_new_user).returns(2)
|
||||||
SiteSetting.num_users_to_block_new_user = 2
|
SiteSetting.stubs(:num_users_to_block_new_user).returns(2)
|
||||||
end
|
end
|
||||||
|
|
||||||
Given!(:admin) { Fabricate(:admin) } # needed to send a system message
|
Given!(:admin) { Fabricate(:admin) } # needed to send a system message
|
||||||
|
|||||||
Reference in New Issue
Block a user