diff --git a/app/assets/stylesheets/mobile/mobile.scss b/app/assets/stylesheets/mobile/mobile.scss index f2d094d62b61c72a3265fffe6bddd53aedd5d8cb..235e496b70eb2d24b0e512b5b5971d18f7b8f52e 100644 --- a/app/assets/stylesheets/mobile/mobile.scss +++ b/app/assets/stylesheets/mobile/mobile.scss @@ -312,8 +312,7 @@ h3 { margin-top: 0; } } .header-full-width { - margin: -10px; - margin-bottom: 1.5rem; + margin: -10px -10px 0; padding-top: 5px; background-color: #fff; border-bottom: 1px solid #aaa; diff --git a/app/views/people/show.mobile.haml b/app/views/people/show.mobile.haml index 11b914cb5e7f6116b80891a37e7eb0d645d06c34..0086c4452209d25ef0ede540a3c3c26246facd71 100644 --- a/app/views/people/show.mobile.haml +++ b/app/views/people/show.mobile.haml @@ -15,19 +15,19 @@ .bottom_bar - if !@person.tag_string.blank? && user_signed_in? = Diaspora::Taggable.format_tags(@person.tag_string) - -.col-md-12.profile_stream - - if @stream.stream_posts.length > 0 - - if @post_type == :photos - = render 'photos/index', photos: @stream.stream_posts +.row + .col-md-12.profile_stream + - if @stream.stream_posts.length > 0 + - if @post_type == :photos + = render 'photos/index', photos: @stream.stream_posts + - else + #main_stream.stream + = render 'shared/stream', posts: @stream.stream_posts + = render 'shared/stream_more_button' - else - #main_stream.stream - = render 'shared/stream', posts: @stream.stream_posts - = render 'shared/stream_more_button' - - else - #main_stream - .dull - - if @block.present? - = t('.ignoring', name: @person.first_name) - - elsif user_signed_in? && (current_user.person != @person) - = t('.has_not_shared_with_you_yet', name: @person.first_name) + #main_stream + .dull + - if @block.present? + = t('.ignoring', name: @person.first_name) + - elsif user_signed_in? && (current_user.person != @person) + = t('.has_not_shared_with_you_yet', name: @person.first_name)