From 84892429ed69f8491e9dc004d2598f1447b0351a Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 5 Mar 2019 14:50:27 -0500 Subject: [PATCH] UX: Improve layout of invite table --- .../javascripts/discourse/templates/user-invited-show.hbs | 5 +++-- app/assets/stylesheets/desktop/user.scss | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user-invited-show.hbs b/app/assets/javascripts/discourse/templates/user-invited-show.hbs index dcd09ac5892..f04959ea92a 100644 --- a/app/assets/javascripts/discourse/templates/user-invited-show.hbs +++ b/app/assets/javascripts/discourse/templates/user-invited-show.hbs @@ -81,7 +81,7 @@ {{else}} {{unbound invite.email}} {{format-date invite.created_at}} - + {{#if invite.expired}} {{i18n 'user.invited.expired'}}      @@ -91,7 +91,8 @@ {{else}} {{d-button icon="times" action=(action "rescind") actionParam=invite label="user.invited.rescind"}} {{/if}} -      + + {{#if invite.reinvited}} {{i18n 'user.invited.reinvited'}} {{else}} diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index f04ae567021..4e5cdb6e303 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -115,6 +115,14 @@ .user-invite-list { width: 100%; margin-top: 15px; + tr { + td { + padding: .667em; + } + td:nth-of-type(n+3) { + text-align: right; + } + } } .user-invite-search {