Commit 088096cd authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '27610-issue-number-alignment' into 'master'

fix alignment for long title

Closes #27610

See merge request !9020
parents 110cd589 ca81c1c0
...@@ -461,8 +461,19 @@ ...@@ -461,8 +461,19 @@
.issuable-list { .issuable-list {
li { li {
.issue-box {
display: -webkit-flex;
display: flex;
}
.issue-info-container {
-webkit-flex: 1;
flex: 1;
padding-right: $gl-padding;
}
.issue-check { .issue-check {
float: left;
padding-right: $gl-padding; padding-right: $gl-padding;
margin-bottom: 10px; margin-bottom: 10px;
min-width: 15px; min-width: 15px;
......
.issues-list { .issues-list {
.issue { .issue {
padding: 10px $gl-padding; padding: 10px 0 10px $gl-padding;
position: relative; position: relative;
.title { .title {
......
...@@ -272,8 +272,15 @@ ...@@ -272,8 +272,15 @@
.mr-list { .mr-list {
.merge-request { .merge-request {
padding: 10px 15px; padding: 10px 0 10px 15px;
position: relative; position: relative;
display: -webkit-flex;
display: flex;
.issue-info-container {
-webkit-flex: 1;
flex: 1;
}
.merge-request-title { .merge-request-title {
margin-bottom: 2px; margin-bottom: 2px;
......
%li{ id: dom_id(issue), class: issue_css_classes(issue), url: issue_path(issue), data: { labels: issue.label_ids, id: issue.id } } %li{ id: dom_id(issue), class: issue_css_classes(issue), url: issue_path(issue), data: { labels: issue.label_ids, id: issue.id } }
.issue-box
- if @bulk_edit - if @bulk_edit
.issue-check .issue-check
= check_box_tag dom_id(issue, "selected"), nil, false, 'data-id' => issue.id, class: "selected_issue" = check_box_tag dom_id(issue, "selected"), nil, false, 'data-id' => issue.id, class: "selected_issue"
.issue-info-container
.issue-title.title .issue-title.title
%span.issue-title-text %span.issue-title-text
= confidential_icon(issue) = confidential_icon(issue)
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
.issue-check .issue-check
= check_box_tag dom_id(merge_request, "selected"), nil, false, 'data-id' => merge_request.id, class: "selected_issue" = check_box_tag dom_id(merge_request, "selected"), nil, false, 'data-id' => merge_request.id, class: "selected_issue"
.issue-info-container
.merge-request-title.title .merge-request-title.title
%span.merge-request-title-text %span.merge-request-title-text
= link_to merge_request.title, merge_request_path(merge_request) = link_to merge_request.title, merge_request_path(merge_request)
......
---
title: fixes issue number alignment problem in MR and issue list
merge_request: 9020
author:
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