From 9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Mon, 9 Apr 2018 16:50:40 -0500 Subject: [skip ci] Replace hidden-xs --- app/views/snippets/_actions.html.haml | 2 +- app/views/snippets/index.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/snippets') diff --git a/app/views/snippets/_actions.html.haml b/app/views/snippets/_actions.html.haml index bf47d42e5c9..cf04a0ab675 100644 --- a/app/views/snippets/_actions.html.haml +++ b/app/views/snippets/_actions.html.haml @@ -1,6 +1,6 @@ - return unless current_user -.hidden-xs +.d-none.d-sm-block - if can?(current_user, :update_personal_snippet, @snippet) = link_to edit_snippet_path(@snippet), class: "btn btn-grouped" do Edit diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml index 9b3134e66be..9b4a7dbe68d 100644 --- a/app/views/snippets/index.html.haml +++ b/app/views/snippets/index.html.haml @@ -6,7 +6,7 @@ Snippets %li.breadcrumb-item = @user.name - .float-right.hidden-xs + .float-right.d-none.d-sm-block = link_to user_path(@user) do #{@user.name} profile page -- cgit v1.2.3