mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
72bb377628
* fix: Textarea height * update snapshot
49 lines
700 B
Plaintext
49 lines
700 B
Plaintext
@import './index';
|
|
@import './mixin';
|
|
|
|
@input-affix-margin: 4px;
|
|
|
|
.@{ant-prefix}-input {
|
|
&-affix-wrapper {
|
|
.input();
|
|
display: inline-flex;
|
|
|
|
&-disabled {
|
|
.@{ant-prefix}-input[disabled] {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
> input.@{ant-prefix}-input {
|
|
padding: 0;
|
|
border: none;
|
|
outline: none;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&::before {
|
|
width: 0;
|
|
visibility: hidden;
|
|
content: '\a0';
|
|
}
|
|
}
|
|
|
|
&-prefix,
|
|
&-suffix {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
}
|
|
|
|
&-prefix {
|
|
margin-right: @input-affix-margin;
|
|
}
|
|
|
|
&-suffix {
|
|
margin-left: @input-affix-margin;
|
|
}
|
|
}
|