Show ellipsis when sidebar parameter names are too long

Bug: T285044
Change-Id: I6bf53ec4d6d45888ed7e9ba1d67848e41224de63
This commit is contained in:
Andrew Kostka 2021-07-15 17:35:42 +02:00
parent 766b220f5a
commit 9ffdd51f04

View file

@ -116,14 +116,26 @@
display: inline-block;
}
.ve-ui-mwTransclusionOutlineItem {
display: block;
.ve-ui-mwTransclusionOutlineItem.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
display: flex;
}
.ve-ui-mwTransclusionOutlineItem.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
width: 20px;
}
.ve-ui-mwTransclusionOutlineItem.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 6px;
padding-right: 12px;
}
.ve-ui-mwTransclusionOutlineItem {
padding-bottom: 8px;
padding-left: 24px;
padding-top: 8px;
text-overflow: ellipsis;
white-space: nowrap;
}
.ve-ui-mwTransclusionOutlineItem.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline {