Commit 9d2190c9 authored by Paul Slaughter's avatar Paul Slaughter

Fix button style inconsistencies in blob/breadcrumb

Thankfully it looks like we can just add missing gl-button
classes to the other buttons in this partial.
parent 3299c9b5
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
- if blob.readable_text? - if blob.readable_text?
- if blame - if blame
= link_to 'Normal view', project_blob_path(@project, @id), = link_to 'Normal view', project_blob_path(@project, @id),
class: 'btn' class: 'gl-button btn'
- else - else
= link_to 'Blame', project_blame_path(@project, @id), = link_to 'Blame', project_blame_path(@project, @id),
class: 'gl-button btn js-blob-blame-link' unless blob.empty? class: 'gl-button btn js-blob-blame-link' unless blob.empty?
= link_to 'History', project_commits_path(@project, @id), = link_to 'History', project_commits_path(@project, @id),
class: 'btn' class: 'gl-button btn'
= link_to 'Permalink', project_blob_path(@project, = link_to 'Permalink', project_blob_path(@project,
tree_join(@commit.sha, @path)), class: 'gl-button btn js-data-file-blob-permalink-url' tree_join(@commit.sha, @path)), class: 'gl-button btn js-data-file-blob-permalink-url'
---
title: Update button styles in blob header
merge_request: 47571
author:
type: other
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