Fix UI breakdown for Create merge request button

This commit is contained in:
Takuya Noguchi 2018-03-18 02:11:31 +09:00
parent ea5221aeb3
commit 40b7eedc08
3 changed files with 9 additions and 7 deletions

View file

@ -162,17 +162,14 @@
* Last push widget * Last push widget
*/ */
.event-last-push { .event-last-push {
overflow: auto;
width: 100%; width: 100%;
display: flex;
align-items: center;
.event-last-push-text { .event-last-push-text {
@include str-truncated(100%); @include str-truncated(100%);
padding: 4px 0;
font-size: 13px; font-size: 13px;
float: left; margin-right: $gl-padding;
margin-right: -150px;
padding-right: 150px;
line-height: 20px;
} }
} }

View file

@ -13,6 +13,6 @@
#{time_ago_with_tooltip(event.created_at)} #{time_ago_with_tooltip(event.created_at)}
.pull-right .flex-right
= link_to new_mr_path_from_push_event(event), title: _("New merge request"), class: "btn btn-info btn-sm qa-create-merge-request" do = link_to new_mr_path_from_push_event(event), title: _("New merge request"), class: "btn btn-info btn-sm qa-create-merge-request" do
#{ _('Create merge request') } #{ _('Create merge request') }

View file

@ -0,0 +1,5 @@
---
title: Fix UI breakdown for Create merge request button
merge_request: 17821
author: Takuya Noguchi
type: fixed