summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/widgets/DropdownInputWidget.less
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/oojs/oojs-ui/src/styles/widgets/DropdownInputWidget.less')
-rw-r--r--vendor/oojs/oojs-ui/src/styles/widgets/DropdownInputWidget.less17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/src/styles/widgets/DropdownInputWidget.less b/vendor/oojs/oojs-ui/src/styles/widgets/DropdownInputWidget.less
new file mode 100644
index 00000000..8b7bb7cf
--- /dev/null
+++ b/vendor/oojs/oojs-ui/src/styles/widgets/DropdownInputWidget.less
@@ -0,0 +1,17 @@
+@import '../common';
+
+.oo-ui-dropdownInputWidget {
+ position: relative;
+ // Necessary for proper alignment when used with display: inline-block
+ vertical-align: middle;
+ .oo-ui-box-sizing(border-box);
+
+ select {
+ display: inline-block;
+ width: 100%;
+ resize: none;
+ .oo-ui-box-sizing(border-box);
+ }
+
+ .theme-oo-ui-dropdownInputWidget();
+}