summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-11-08 15:35:23 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-11-08 15:35:23 +0000
commitefde067a6952f213a218577cbd037e4eb92b4744 (patch)
treefdd578b5215ac4cfaa31228f4ec3353a279a7093
parentf0c3ea88521d1daa4815b6bb973b7c43a3555f49 (diff)
parent8c29e63175e3707b604cf4c54c9dd588af0f41f0 (diff)
downloadgitlab-ce-efde067a6952f213a218577cbd037e4eb92b4744.tar.gz
Merge branch 'remove-duplicate-primary-button-in-dashboard-snippets' into 'master'
Remove duplicate primary button in dashboard snippets Closes #53706 See merge request gitlab-org/gitlab-ce!22902
-rw-r--r--app/views/dashboard/snippets/index.html.haml5
-rw-r--r--changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml5
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/dashboard/snippets/index.html.haml b/app/views/dashboard/snippets/index.html.haml
index b11dc2c8e9b..6eb067da95c 100644
--- a/app/views/dashboard/snippets/index.html.haml
+++ b/app/views/dashboard/snippets/index.html.haml
@@ -5,9 +5,4 @@
= render 'dashboard/snippets_head'
= render partial: 'snippets/snippets_scope_menu', locals: { include_private: true }
-.d-block.d-sm-none
- &nbsp;
- = link_to new_snippet_path, class: "btn btn-success btn-block", title: "New snippet" do
- New snippet
-
= render partial: 'snippets/snippets', locals: { link_project: true }
diff --git a/changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml b/changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml
new file mode 100644
index 00000000000..3a8b3a0df5d
--- /dev/null
+++ b/changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml
@@ -0,0 +1,5 @@
+---
+title: Remove duplicate primary button in dashboard snippets on small viewports
+merge_request: 22902
+author: George Tsiolis
+type: fixed