Skip to content
Snippets Groups Projects
Commit 8ba48310 authored by Ammar Alakkad's avatar Ammar Alakkad Committed by Kushal Pandya
Browse files

Resolve "Label picker: Line break on long label titles"

parent c11eb0c3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -311,7 +311,8 @@ export default class LabelsSelect {
 
// We need to identify which items are actually labels
if (label.id) {
selectedClass.push('label-item');
const selectedLayoutClasses = ['d-flex', 'flex-row', 'text-break-word'];
selectedClass.push('label-item', ...selectedLayoutClasses);
linkEl.dataset.labelId = label.id;
}
 
Loading
Loading
Loading
Loading
@@ -30,6 +30,10 @@
.dropdown-content {
max-height: 135px;
}
.dropdown-label-box {
flex: 0 0 auto;
}
}
 
.dropdown-new-label {
Loading
Loading
---
title: 'Resolve Label picker: Line break on long label titles'
merge_request: 30610
author:
type: fixed
Loading
Loading
@@ -381,7 +381,7 @@ describe 'Issues > Labels bulk assignment' do
if unmark
items.map do |item|
# Make sure we are unmarking the item no matter the state it has currently
click_link item until find('a', text: item)[:class] == 'label-item'
click_link item until find('a', text: item)[:class].include? 'label-item'
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment