diff options
-rw-r--r-- | app/assets/stylesheets/pages/commit.scss | 5 | ||||
-rw-r--r-- | app/views/projects/commit/_commit_box.html.haml | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/app/assets/stylesheets/pages/commit.scss b/app/assets/stylesheets/pages/commit.scss index 16e70bf9e4c..8ecf7fcb96d 100644 --- a/app/assets/stylesheets/pages/commit.scss +++ b/app/assets/stylesheets/pages/commit.scss @@ -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) { diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index 47f45ae6b1a..c8a9358fa64 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -1,7 +1,7 @@ .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) |