Commit e2750136 authored by Yogi's avatar Yogi Committed by Scott Hampton

Add btn-icon class for commit action buttons

Make sure the commit action buttons have the right spacing
by adding the `.btn-icon` class.
parent 9b664910
...@@ -105,7 +105,7 @@ module CommitsHelper ...@@ -105,7 +105,7 @@ module CommitsHelper
tooltip = _("Browse Directory") tooltip = _("Browse Directory")
end 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') sprite_icon('folder-open')
end end
end end
......
...@@ -60,5 +60,5 @@ ...@@ -60,5 +60,5 @@
.commit-sha-group.btn-group.d-none.d-sm-flex .commit-sha-group.btn-group.d-none.d-sm-flex
.label.label-monospace.monospace .label.label-monospace.monospace
= commit.short_id = 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) = 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