Commit 2949f9b4 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix mobile view

parent 002670ec
......@@ -34,10 +34,7 @@
&.commit-info-row-header {
line-height: 34px;
padding: 10px 0;
@media (min-width: $screen-sm-min) {
margin-bottom: 0;
}
margin-bottom: 0;
.commit-options-dropdown-caret {
@media (max-width: $screen-sm) {
......
.commit-info-row.commit-info-row-header
%span.hidden-xs.hidden-sm Commit
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace js-details-short"
= link_to("#", class: "js-details-expand") do
= link_to("#", class: "js-details-expand hidden-xs hidden-sm") do
%span.text-expander
\...
%span.js-details-content.hide
......@@ -9,7 +9,7 @@
= clipboard_button(clipboard_text: @commit.id)
%span.hidden-xs authored
#{time_ago_with_tooltip(@commit.authored_date)}
%span.hidden-xs by
%span by
= author_avatar(@commit, size: 24)
%strong
= commit_author_link(@commit, avatar: true, size: 24)
......
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