diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 22:38:44 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 22:38:44 +0300 |
commit | c84ed8263da6abe0fb9f2e76fca1d5b3dd71d4f7 (patch) | |
tree | e65e9fa87019484829ab329cf827e2927613b341 /app/views/shared/members | |
parent | b81ac02f078361eea98cca7e1cae3b7a2a9fb623 (diff) |
[skip ci] Replace .visible-xs-* with .d-block.d-sm-none
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 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/members/_group.html.haml b/app/views/shared/members/_group.html.haml index 5868c52566d..91ca7b26819 100644 --- a/app/views/shared/members/_group.html.haml +++ b/app/views/shared/members/_group.html.haml @@ -40,6 +40,6 @@ method: :delete, data: { confirm: "Are you sure you want to remove #{group.name}?" }, class: 'btn btn-remove prepend-left-10' do - %span.visible-xs-block + %span.d-block.d-sm-none Delete = icon('trash', class: 'hidden-xs') diff --git a/app/views/shared/members/_member.html.haml b/app/views/shared/members/_member.html.haml index 8ecf1249f3a..aac55110fff 100644 --- a/app/views/shared/members/_member.html.haml +++ b/app/views/shared/members/_member.html.haml @@ -89,7 +89,7 @@ method: :post, class: 'btn btn-success prepend-left-10', title: 'Grant access' do - %span{ class: ('visible-xs-block' unless force_mobile_view) } + %span{ class: ('.d-block.d-sm-none' unless force_mobile_view) } Grant access - unless force_mobile_view = icon('check inverse', class: 'hidden-xs') @@ -106,7 +106,7 @@ data: { confirm: remove_member_message(member) }, class: 'btn btn-remove prepend-left-10', title: remove_member_title(member) do - %span{ class: ('visible-xs-block' unless force_mobile_view) } + %span{ class: ('.d-block.d-sm-none' unless force_mobile_view) } Delete - unless force_mobile_view = icon('trash', class: 'hidden-xs') |