Commit 517624fa authored by Scott Hampton's avatar Scott Hampton

Merge branch 'btn-icon-commit-action' into 'master'

Add btn-icon class for commit action buttons

See merge request gitlab-org/gitlab!54286
parents 7d82d3b9 e2750136
......@@ -105,7 +105,7 @@ module CommitsHelper
tooltip = _("Browse Directory")
end
link_to url, class: "btn gl-button btn-default has-tooltip", title: tooltip, data: { container: "body" } do
link_to url, class: "btn gl-button btn-default btn-icon has-tooltip", title: tooltip, data: { container: "body" } do
sprite_icon('folder-open')
end
end
......
......@@ -60,5 +60,5 @@
.commit-sha-group.btn-group.d-none.d-sm-flex
.label.label-monospace.monospace
= commit.short_id
= clipboard_button(text: commit.id, title: _("Copy commit SHA"), class: "gl-button btn btn-default", container: "body")
= clipboard_button(text: commit.id, title: _("Copy commit SHA"), class: "gl-button btn btn-default btn-icon", container: "body")
= link_to_browse_code(project, commit)
---
title: Add btn-icon class for commit action buttons
merge_request: 54286
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment