Fix horizontal scrolling on mobile profile

This commit is contained in:
fla 2016-02-01 14:50:04 +01:00
parent 1122dca5b8
commit bcf682d8ee
2 changed files with 14 additions and 15 deletions

View file

@ -325,10 +325,11 @@ footer {
}
.header-full-width {
margin: -10px -10px 0;
padding-top: 5px;
background-color: #fff;
border-bottom: 1px solid #aaa;
margin: -10px; // Counter the #main padding
margin-bottom: 10px;
padding-top: 5px;
}
#author_info {

View file

@ -15,17 +15,15 @@
.bottom-bar
- if !@person.tag_string.blank? && user_signed_in?
= Diaspora::Taggable.format_tags(@person.tag_string)
.row
.col-md-12.profile_stream
- if @post_type == :photos
= render "photos/index", photos: @posts
- if @post_type == :photos
= render "photos/index", photos: @posts
- else
#main_stream
- if @stream.stream_posts.length > 0
= render "shared/stream", posts: @stream.stream_posts
= render "shared/stream_more_button"
- else
- if @stream.stream_posts.length > 0
#main_stream.stream
= render "shared/stream", posts: @stream.stream_posts
= render "shared/stream_more_button"
- else
#main_stream
.dull
- if user_signed_in? && (current_user.person != @person)
= t(".has_not_shared_with_you_yet", name: @person.first_name)
.dull
- if user_signed_in? && (current_user.person != @person)
= t(".has_not_shared_with_you_yet", name: @person.first_name)