Commit bc6986f7 authored by Clement Ho's avatar Clement Ho

[skip ci] Fix display style for pipeline header

parent fa134029
...@@ -4,7 +4,7 @@ module AvatarsHelper ...@@ -4,7 +4,7 @@ module AvatarsHelper
user: commit_or_event.author, user: commit_or_event.author,
user_name: commit_or_event.author_name, user_name: commit_or_event.author_name,
user_email: commit_or_event.author_email, user_email: commit_or_event.author_email,
css_class: 'd-none d-sm-block' css_class: 'd-none d-sm-inline'
})) }))
end end
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#{ s_('CommitBoxTitle|Commit') } #{ s_('CommitBoxTitle|Commit') }
%span.commit-sha= @commit.short_id %span.commit-sha= @commit.short_id
= clipboard_button(text: @commit.id, title: _("Copy commit SHA to clipboard")) = clipboard_button(text: @commit.id, title: _("Copy commit SHA to clipboard"))
%span.d-none.d-sm-block authored %span.d-none.d-sm-inline authored
#{time_ago_with_tooltip(@commit.authored_date)} #{time_ago_with_tooltip(@commit.authored_date)}
%span= s_('ByAuthor|by') %span= s_('ByAuthor|by')
= author_avatar(@commit, size: 24) = author_avatar(@commit, size: 24)
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
%span.btn.disabled.btn-grouped.d-none.d-sm-block.append-right-10 %span.btn.disabled.btn-grouped.d-none.d-sm-block.append-right-10
= icon('comment') = icon('comment')
= @notes_count = @notes_count
= link_to project_tree_path(@project, @commit), class: "btn btn-secondary append-right-10 d-none d-sm-none d-md-block" do = link_to project_tree_path(@project, @commit), class: "btn btn-secondary append-right-10 d-none d-sm-none d-md-inline" do
#{ _('Browse files') } #{ _('Browse files') }
.dropdown.inline .dropdown.inline
%a.btn.btn-secondary.dropdown-toggle{ data: { toggle: "dropdown" } } %a.btn.btn-secondary.dropdown-toggle{ data: { toggle: "dropdown" } }
......
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