Merge "Allow the ref re-use sub-menu options to wrap"

This commit is contained in:
jenkins-bot 2024-10-04 11:50:23 +00:00 committed by Gerrit Code Review
commit 3591e4f14d
2 changed files with 5 additions and 0 deletions

View file

@ -65,6 +65,10 @@
}
}
.ve-ui-mwReferenceResultsReuseOptionsItem .oo-ui-menuOptionWidget > .oo-ui-labelElement-label {
white-space: initial;
}
// FIXME: T375053 Should just be temporary to test some UI changes
.ve-ui-mwReferenceSearchReuseHacks .ve-ui-mwReferenceResultWidget {
display: flex;

View file

@ -221,6 +221,7 @@ ve.ui.MWReferenceSearchWidget.prototype.buildReuseOptionsMenu = function ( ref )
title: '',
invisibleLabel: true,
menu: {
classes: [ 've-ui-mwReferenceResultsReuseOptionsItem' ],
horizontalPosition: 'end',
items: [
new OO.ui.MenuOptionWidget( {