ant-design/components/input/style/index.less

25 lines
614 B
Plaintext
Raw Normal View History

@import "../../style/themes/default";
@import "../../style/mixins/index";
@import "./mixin";
2016-05-13 11:45:09 +08:00
@import "./search-input";
// Input styles
.@{ant-prefix}-input {
.input;
}
//== Style for input-group: input with label, with button or dropdown...
.@{ant-prefix}-input-group {
.input-group(~"@{ant-prefix}-input");
}
// Input with affix: prefix or suffix
.@{ant-prefix}-input-affix-wrapper {
.input-affix-wrapper(~"@{ant-prefix}-input");
// https://github.com/ant-design/ant-design/issues/6144
.@{ant-prefix}-input {
2017-05-18 15:07:34 +08:00
min-height: 100%; // use min-height, assume that no smaller height to override
}
}