mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/inspectors/ve.ui.MWLinkAnnotationInspector.css
Bartosz Dziewoński 6869bc90fd ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout
Bug: T309443
Change-Id: Ia9e9dacb7f293e2529e8d0766e1117a61e34b3e5
2022-06-01 23:34:19 +02:00

44 lines
1.3 KiB
CSS

/*!
* VisualEditor MediaWiki UserInterface MWLinkAnnotationInspector styles.
*
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleSearchWidget {
position: relative;
min-height: 2.4em;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleSearchWidget .oo-ui-searchWidget-query {
position: static;
padding: 0;
height: auto;
border: 0;
box-shadow: none;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .oo-ui-textInputWidget {
margin: 0;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleSearchWidget .oo-ui-searchWidget-results {
position: static;
top: 0;
padding: 0;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleWidget-menu:not( :empty ) {
margin-top: 0.75em;
}
.ve-ui-mwLinkAnnotationInspector .oo-ui-tabSelectWidget-frameless {
margin: 0 0.75em;
}
.ve-ui-mwLinkAnnotationInspector .oo-ui-tabSelectWidget-frameless .oo-ui-tabOptionWidget {
/* Prevent long sitenames from messing up the layout (T309443). */
/* OOUI already has styles with text-overflow: ellipsis, we just need to define a width to enable it. */
max-width: 50%;
}