Fix avatar display on mobile profile

This commit is contained in:
flaburgan 2013-11-16 01:55:16 -08:00
parent 859cd83e38
commit 76b151eb7d
3 changed files with 19 additions and 12 deletions

View file

@ -35,6 +35,7 @@
* Force comments sort order in mobile spv [#4578](https://github.com/diaspora/diaspora/pull/4578) * Force comments sort order in mobile spv [#4578](https://github.com/diaspora/diaspora/pull/4578)
* Fix getting started page for mobile [#4536](https://github.com/diaspora/diaspora/pull/4536) * Fix getting started page for mobile [#4536](https://github.com/diaspora/diaspora/pull/4536)
* Refactor mobile header, fix [#4579](https://github.com/diaspora/diaspora/issues/4579) * Refactor mobile header, fix [#4579](https://github.com/diaspora/diaspora/issues/4579)
* Fix avatar display on mobile profile [#4591](https://github.com/diaspora/diaspora/pull/4591)
## Features ## Features
* Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353) * Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353)

View file

@ -288,25 +288,31 @@ body {
img { img {
height: 90px; height: 90px;
width: 90px; width: 90px;
margin: { margin-right: 10px;
right: 10px; float: left;
}
position: absolute;
} }
.content { .content {
padding: { padding-left: 100px;
left: 100px;
};
} }
.description { .description {
font: { font: {
weight: normal; weight: normal;
size: small; }; size: small;
color: $text-grey; } } };
color: $text-grey;
}
}
.profile_stream {
clear: both;
padding-top: 12px;
}
.right { .right {
float: right; } float: right;
}
header { header {
position: fixed; position: fixed;

View file

@ -2,7 +2,7 @@
-# licensed under the Affero General Public License version 3 or later. See -# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
- content_for :page_title do - content_for :page_title do -#TODO that's useless, isn't it?
%h1 %h1
diaspora* diaspora*
@ -15,7 +15,7 @@
%span.description %span.description
= @person.diaspora_handle = @person.diaspora_handle
.span12 .span12.profile_stream
- if @stream.stream_posts.length > 0 - if @stream.stream_posts.length > 0
- if @post_type == :photos - if @post_type == :photos
= render 'photos/index', :photos => @stream.stream_posts = render 'photos/index', :photos => @stream.stream_posts