Skip to content
Extraits de code Groupes Projets
Valider 9ff9364c rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Merge pull request #3858 from asphxia/feature/3851-profile-pictures-not-centered

Issue #3851: Profile pictures not centered
parents 2708198a d6a98186
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* Re-add hovercards [#3802](https://github.com/diaspora/diaspora/pull/3802) * Re-add hovercards [#3802](https://github.com/diaspora/diaspora/pull/3802)
* Add images to notifications [#3821](https://github.com/diaspora/diaspora/pull/3821) * Add images to notifications [#3821](https://github.com/diaspora/diaspora/pull/3821)
* Show pod version in footer and updated the link to the changelog [#3822](https://github.com/diaspora/diaspora/pull/3822) * Show pod version in footer and updated the link to the changelog [#3822](https://github.com/diaspora/diaspora/pull/3822)
* User interface enhancements [#3832](https://github.com/diaspora/diaspora/pull/3832), [#3839](https://github.com/diaspora/diaspora/pull/3839), [#3834](https://github.com/diaspora/diaspora/pull/3834), [#3840](https://github.com/diaspora/diaspora/issues/3840), [#3846](https://github.com/diaspora/diaspora/issues/3846). * User interface enhancements [#3832](https://github.com/diaspora/diaspora/pull/3832), [#3839](https://github.com/diaspora/diaspora/pull/3839), [#3834](https://github.com/diaspora/diaspora/pull/3834), [#3840](https://github.com/diaspora/diaspora/issues/3840), [#3846](https://github.com/diaspora/diaspora/issues/3846), [#3851](https://github.com/diaspora/diaspora/issues/3851).
## Bug Fixes ## Bug Fixes
......
...@@ -1941,6 +1941,7 @@ ul#press_logos ...@@ -1941,6 +1941,7 @@ ul#press_logos
:height 35px :height 35px
:margin :margin
:right 10px :right 10px
:bottom 10px
&:hover:not(.selected) &:hover:not(.selected)
:background :background
......
...@@ -142,6 +142,12 @@ body { ...@@ -142,6 +142,12 @@ body {
border-bottom: 1px solid #aaa; border-bottom: 1px solid #aaa;
} }
.stream_element div.img img.avatar {
margin: 10px;
}
.stream_element .bd {
padding-top: 10px;
}
.photo_attachments { .photo_attachments {
position: relative; position: relative;
left: 0; left: 0;
...@@ -660,13 +666,14 @@ display: inline-block; ...@@ -660,13 +666,14 @@ display: inline-block;
.message_count { .message_count {
border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;
float: right; float: right;
margin: 2px 2px 1px 5px; margin: 10px 10px 1px 5px;
padding: 0 2px 1px; padding: 0 2px 1px;
position: relative; position: relative;
background-color: #999; background-color: #999;
color: #eee; color: #eee;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
} }
.conversation_participants img.avatar{ .conversation_participants img.avatar{
...@@ -675,10 +682,15 @@ display: inline-block; ...@@ -675,10 +682,15 @@ display: inline-block;
margin: 5px 0 5px 2px; margin: 5px 0 5px 2px;
} }
.conversations img.avatar{
margin: 10px;
float: left;
}
.unread_message_count { .unread_message_count {
border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;
float: right; float: right;
margin: 2px 2px 1px 5px; margin: 10px 2px 1px 5px;
padding: 0 2px 1px; padding: 0 2px 1px;
position: relative; position: relative;
background-color: #B11; background-color: #B11;
...@@ -689,7 +701,7 @@ display: inline-block; ...@@ -689,7 +701,7 @@ display: inline-block;
.last_author { .last_author {
position: relative; position: relative;
margin: 10px 5px 2px; margin: 10px 10px 2px;
float: right; float: right;
font-size: 12px; font-size: 12px;
color: #444; color: #444;
......
...@@ -14,9 +14,8 @@ ...@@ -14,9 +14,8 @@
- notes.each do |note| - notes.each do |note|
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"} .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
= person_image_link(note.actors.last)
.content .content
=person_image_link(note.actors.last)
%span.from %span.from
= notification_message_for(note) = notification_message_for(note)
.time .time
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
.stream_element{:id => person.id} .stream_element{:id => person.id}
= person_image_link(person)
.content .content
=person_image_link(person)
%span.from %span.from
=person_link(person) =person_link(person)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter