mediawiki-extensions-Discus.../modules/CommentTargetWidget.less
Ed Sanders 6aa2fac2f8 Give username completion a min width of 10em
Change-Id: Id98643714e092f33034dcc84a97845fb2945bfb0
2020-05-11 19:44:52 +01:00

34 lines
638 B
Plaintext

.dt-ui-targetWidget {
.oo-ui-toolGroup {
border: 0;
}
.ve-init-mw-target-surface {
.ve-ce-documentNode,
.ve-ui-surface-placeholder {
min-height: 10em;
box-sizing: border-box;
}
&.ve-ui-surface-source {
.ve-ce-documentNode,
.ve-ui-surface-placeholder {
padding: 6px 8px;
}
}
&.ve-ui-surface-visual {
.ve-ce-documentNode,
.ve-ui-surface-placeholder {
/* Use an non-zero padding to disable margin collapse */
padding: 0.05px 8px;
}
}
// TODO: target this to username completion dropdowns, not all
.ve-ui-completionWidget > .oo-ui-menuSelectWidget {
min-width: 10em;
}
}
}