Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #383 from hendricksond/master
Browse files Browse the repository at this point in the history
Compact seamail user lists
  • Loading branch information
hendricksond authored Mar 5, 2020
2 parents e9eb2e4 + 44db649 commit 5ad6f48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
7 changes: 2 additions & 5 deletions app/assets/javascripts/templates/seamail/detail.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
<div class="card-section">
{{#each user in model.users}}
{{#link-to 'user.profile' user.username}}
<span class="pull-left" style="padding: 0.5em;">
{{pretty-username user.username user.display_name user.pronouns}}
<div style="text-align: center;">
{{user-picture user.username user.last_photo_updated}}
</div>
<span class="pull-left seamail" style="padding: 0.5em;">
{{user-picture user.username user.last_photo_updated}} {{pretty-username user.username user.display_name user.pronouns}}
</span>
{{/link-to}}
{{/each}}
Expand Down
9 changes: 3 additions & 6 deletions app/assets/javascripts/templates/seamail/meta_partial.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@

<div class="form">
{{#each user in model.users}}
<span class="pull-left" style="padding: 0.5em;">
{{pretty-username user.username user.display_name}}
<div style="text-align: center;">
{{user-picture user.username user.last_photo_updated}}
</div>
</span>
<span class="pull-left seamail" style="padding: 0.5em;">
{{user-picture user.username user.last_photo_updated}} {{pretty-username user.username user.display_name}}
</span>
{{/each}}
</div>
<div class="controls">
Expand Down
7 changes: 7 additions & 0 deletions app/assets/stylesheets/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,13 @@ img.layered {
width: 50px;
}

.seamail {
.profile_photo {
height: 25px;
width: 25px;
}
}

.footer-controls {
margin-bottom: 0.6em;
.card-section {
Expand Down

0 comments on commit 5ad6f48

Please sign in to comment.