Skip to content
Extraits de code Groupes Projets
Valider f9fe64da rédigé par Steffen van Bergerem's avatar Steffen van Bergerem
Parcourir les fichiers

Improve interaction avatar alignment for SPV

parent 5e02dd08
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
color: $blue; color: $blue;
} }
.count { .count {
float: left;
i { i {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
...@@ -137,4 +138,9 @@ ...@@ -137,4 +138,9 @@
.comment.new-comment-form-wrapper { .comment.new-comment-form-wrapper {
padding: 10px; padding: 10px;
} }
.count,
.interaction-avatars {
line-height: 25px;
}
} }
{{#if resharesCount}} {{#if resharesCount}}
<div id='reshares'> <div id="reshares" class="clearfix">
<span class="count"> <span class="count">
<i class="entypo-reshare middle gray"></i> <i class="entypo-reshare middle gray"></i>
<span>{{resharesCount}}</span> <span>{{resharesCount}}</span>
</span> </span>
<span> <span class="interaction-avatars">
{{#each reshares}} {{#each reshares}}
{{#linkToAuthor author}} {{#linkToAuthor author}}
{{{personImage this 'small' 'micro'}}} {{{personImage this 'small' 'micro'}}}
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
</div> </div>
{{/if}} {{/if}}
{{#if likesCount}} {{#if likesCount}}
<div id='likes'> <div id="likes" class="clearfix">
<span class="count"> <span class="count">
<i class="entypo-heart middle gray"></i> <i class="entypo-heart middle gray"></i>
<span>{{likesCount}}</span> <span>{{likesCount}}</span>
</span> </span>
<span> <span class="interaction-avatars">
{{#each likes}} {{#each likes}}
{{#linkToAuthor author}} {{#linkToAuthor author}}
{{{personImage this 'small' 'micro'}}} {{{personImage this 'small' 'micro'}}}
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
</div> </div>
{{/if}} {{/if}}
{{#if commentsCount}} {{#if commentsCount}}
<div id='comments-meta'> <div id="comments-meta" class="clearfix">
<span class='count'> <span class="count">
<i class="entypo-comment middle gray"></i> <i class="entypo-comment middle gray"></i>
<span>{{commentsCount}}</span> <span>{{commentsCount}}</span>
</span> </span>
......
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