UX: Fix redeemed invite table layout

UX: Fix redeemed invite table layout

diff --git a/app/assets/javascripts/discourse/templates/user-invited-show.hbs b/app/assets/javascripts/discourse/templates/user-invited-show.hbs
index f04959e..5b4c000 100644
--- a/app/assets/javascripts/discourse/templates/user-invited-show.hbs
+++ b/app/assets/javascripts/discourse/templates/user-invited-show.hbs
@@ -83,8 +83,7 @@
                   <td>{{format-date invite.created_at}}</td>
                   <td>
                     {{#if invite.expired}}
-                      {{i18n 'user.invited.expired'}}
-                      &nbsp;&nbsp;&nbsp;&nbsp;
+                      <div>{{i18n 'user.invited.expired'}}</div>
                     {{/if}}
                     {{#if invite.rescinded}}
                       {{i18n 'user.invited.rescinded'}}
@@ -94,7 +93,7 @@
                    </td>
                    <td>
                     {{#if invite.reinvited}}
-                      {{i18n 'user.invited.reinvited'}}
+                      <div>{{i18n 'user.invited.reinvited'}}</div>
                     {{else}}
                       {{d-button icon="sync" action=(action "reinvite") actionParam=invite label="user.invited.reinvite"}}
                     {{/if}}
diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss
index 7c5cfae..e03a940 100644
--- a/app/assets/stylesheets/desktop/user.scss
+++ b/app/assets/stylesheets/desktop/user.scss
@@ -119,9 +119,6 @@
     td {
       padding: 0.667em;
     }
-    td:nth-of-type(n + 3) {
-      text-align: right;
-    }
   }
 }

GitHub sha: 2db36523

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: