Fantasticfears has uploaded a new change for review.
https://gerrit.wikimedia.org/r/120340
Change subject: Add display: block; property to labelElement to make the
text-overflow: ellipsis work correctly
......................................................................
Add display: block; property to labelElement to make the text-overflow:
ellipsis work correctly
Some screenshot available here: Change-Id:
I1695e61314691d82eef0b570218366daa6b4628d
Change-Id: Ic8d5fc8f9061fb1c57811c44912e2b11dd984283
---
M src/styles/widgets/OptionWidget.less
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/40/120340/1
diff --git a/src/styles/widgets/OptionWidget.less
b/src/styles/widgets/OptionWidget.less
index ff37c44..5604b99 100644
--- a/src/styles/widgets/OptionWidget.less
+++ b/src/styles/widgets/OptionWidget.less
@@ -12,6 +12,7 @@
}
.oo-ui-labeledElement-label {
+ display: block;
line-height: 1.5em;
white-space: nowrap;
text-overflow: ellipsis;
--
To view, visit https://gerrit.wikimedia.org/r/120340
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8d5fc8f9061fb1c57811c44912e2b11dd984283
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Fantasticfears <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits