Commit bfa7983d authored by Clement Ho's avatar Clement Ho

Merge branch '46861-issuable-title-with-longer-username' into 'master'

Buttons disappear on merge request page in some case

Closes #46861 and #14348

See merge request gitlab-org/gitlab-ce!19176
parents ab7bd6dc f139b62c
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
position: relative; position: relative;
line-height: 35px; line-height: 35px;
display: flex; display: flex;
flex-grow: 1; flex: 1 1;
min-width: 0;
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
padding-left: 0; padding-left: 0;
......
...@@ -698,6 +698,8 @@ ...@@ -698,6 +698,8 @@
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
align-self: center; align-self: center;
overflow: hidden;
text-overflow: ellipsis;
} }
.js-issuable-selector-wrap { .js-issuable-selector-wrap {
......
...@@ -157,7 +157,7 @@ module IssuablesHelper ...@@ -157,7 +157,7 @@ module IssuablesHelper
output = "" output = ""
output << "Opened #{time_ago_with_tooltip(issuable.created_at)} by ".html_safe output << "Opened #{time_ago_with_tooltip(issuable.created_at)} by ".html_safe
output << content_tag(:strong) do output << content_tag(:strong) do
author_output = link_to_member(project, issuable.author, size: 24, mobile_classes: "d-none d-sm-inline-block", tooltip: true) author_output = link_to_member(project, issuable.author, size: 24, mobile_classes: "d-none d-sm-inline", tooltip: true)
author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "d-block d-sm-none") author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "d-block d-sm-none")
end end
......
---
title: Fix CSS for buttons not to be hidden on issues/MR title
merge_request: 19176
author: Takuya Noguchi
type: fixed
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