From 125434dcdf31cf300ba119e7138629c7bfd1c454 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 29 Mar 2018 18:14:17 +0800 Subject: [PATCH] Minor style tweak on groups page. --- .../javascripts/discourse/templates/groups/index.hbs | 12 +++++++----- app/assets/stylesheets/common/base/groups.scss | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/groups/index.hbs b/app/assets/javascripts/discourse/templates/groups/index.hbs index 991fed8dbc5..9805db78c51 100644 --- a/app/assets/javascripts/discourse/templates/groups/index.hbs +++ b/app/assets/javascripts/discourse/templates/groups/index.hbs @@ -82,13 +82,15 @@ - - {{#if group.is_group_owner}} + {{#if group.is_group_owner}} + {{i18n "groups.index.is_group_owner"}} - {{else if group.is_group_user}} + + {{else if group.is_group_user}} + {{i18n "groups.index.is_group_user"}} - {{/if}} - + + {{/if}} {{group-membership-button model=group showLogin='showLogin'}} diff --git a/app/assets/stylesheets/common/base/groups.scss b/app/assets/stylesheets/common/base/groups.scss index 75585210384..3ff525b1f58 100644 --- a/app/assets/stylesheets/common/base/groups.scss +++ b/app/assets/stylesheets/common/base/groups.scss @@ -69,10 +69,10 @@ td.groups-table-membership { .group-membership-button { display: inline-block; - margin-left: 5px; } > span { + margin-right: 5px; font-size: $font-up-1; } }