diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 16:50:40 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 16:50:40 -0500 |
commit | 9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d (patch) | |
tree | 76790e8fb679e5c644af5fec698029f68fdd12ac /app/views/snippets | |
parent | 35991d16629559f2fd67be706fc80088dfb64638 (diff) | |
download | gitlab-ce-9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d.tar.gz |
[skip ci] Replace hidden-xs
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/_actions.html.haml | 2 | ||||
-rw-r--r-- | app/views/snippets/index.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
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 |