diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 00:50:40 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 00:50:40 +0300 |
commit | 9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d (patch) | |
tree | 76790e8fb679e5c644af5fec698029f68fdd12ac /app/views/shared/members | |
parent | 35991d16629559f2fd67be706fc80088dfb64638 (diff) |
[skip ci] Replace hidden-xs
Diffstat (limited to 'app/views/shared/members')
-rw-r--r-- | app/views/shared/members/_group.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/members/_member.html.haml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/members/_group.html.haml b/app/views/shared/members/_group.html.haml index 91ca7b26819..769312bd84c 100644 --- a/app/views/shared/members/_group.html.haml +++ b/app/views/shared/members/_group.html.haml @@ -42,4 +42,4 @@ class: 'btn btn-remove prepend-left-10' do %span.d-block.d-sm-none Delete - = icon('trash', class: 'hidden-xs') + = icon('trash', class: 'd-none d-sm-block') diff --git a/app/views/shared/members/_member.html.haml b/app/views/shared/members/_member.html.haml index aac55110fff..4ca7631a64f 100644 --- a/app/views/shared/members/_member.html.haml +++ b/app/views/shared/members/_member.html.haml @@ -53,7 +53,7 @@ - if member.can_resend_invite? = link_to icon('paper-plane'), polymorphic_path([:resend_invite, member]), method: :post, - class: 'btn btn-secondary prepend-left-10 hidden-xs', + class: 'btn btn-secondary prepend-left-10 d-none d-sm-block', title: 'Resend invite' - if user != current_user && member.can_update? @@ -92,7 +92,7 @@ %span{ class: ('.d-block.d-sm-none' unless force_mobile_view) } Grant access - unless force_mobile_view - = icon('check inverse', class: 'hidden-xs') + = icon('check inverse', class: 'd-none d-sm-block') - if member.can_remove? - if current_user == user @@ -109,6 +109,6 @@ %span{ class: ('.d-block.d-sm-none' unless force_mobile_view) } Delete - unless force_mobile_view - = icon('trash', class: 'hidden-xs') + = icon('trash', class: 'd-none d-sm-block') - else %span.member-access-text= member.human_access |