From 44db6499a98f7fc5a7a05efaea423fc4a5c97c91 Mon Sep 17 00:00:00 2001 From: hendusoone Date: Wed, 4 Mar 2020 20:09:56 -0500 Subject: [PATCH] Compact seamail user lists --- app/assets/javascripts/templates/seamail/detail.hbs | 7 ++----- .../javascripts/templates/seamail/meta_partial.hbs | 9 +++------ app/assets/stylesheets/main.css.scss | 7 +++++++ 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/templates/seamail/detail.hbs b/app/assets/javascripts/templates/seamail/detail.hbs index fa0d25e0..ab130e20 100644 --- a/app/assets/javascripts/templates/seamail/detail.hbs +++ b/app/assets/javascripts/templates/seamail/detail.hbs @@ -9,11 +9,8 @@
{{#each user in model.users}} {{#link-to 'user.profile' user.username}} - - {{pretty-username user.username user.display_name user.pronouns}} -
- {{user-picture user.username user.last_photo_updated}} -
+ + {{user-picture user.username user.last_photo_updated}} {{pretty-username user.username user.display_name user.pronouns}} {{/link-to}} {{/each}} diff --git a/app/assets/javascripts/templates/seamail/meta_partial.hbs b/app/assets/javascripts/templates/seamail/meta_partial.hbs index 3c9e0e67..d006b95b 100644 --- a/app/assets/javascripts/templates/seamail/meta_partial.hbs +++ b/app/assets/javascripts/templates/seamail/meta_partial.hbs @@ -6,12 +6,9 @@
{{#each user in model.users}} - - {{pretty-username user.username user.display_name}} -
- {{user-picture user.username user.last_photo_updated}} -
-
+ + {{user-picture user.username user.last_photo_updated}} {{pretty-username user.username user.display_name}} + {{/each}}
diff --git a/app/assets/stylesheets/main.css.scss b/app/assets/stylesheets/main.css.scss index 6bd418e4..f571d305 100644 --- a/app/assets/stylesheets/main.css.scss +++ b/app/assets/stylesheets/main.css.scss @@ -703,6 +703,13 @@ img.layered { width: 50px; } +.seamail { + .profile_photo { + height: 25px; + width: 25px; + } +} + .footer-controls { margin-bottom: 0.6em; .card-section {