(fix) select style
This commit is contained in:
parent
e8b7a066bb
commit
8d7f576edd
|
@ -5,7 +5,7 @@
|
|||
line-height: 1.38;
|
||||
margin: 0;
|
||||
padding-top: 12px;
|
||||
word-break: break-word;
|
||||
word-break: break-all;
|
||||
|
||||
&#{ & }-core {
|
||||
a {
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
.frm-FormSelect {
|
||||
@include form-element-base-style();
|
||||
@include image-2x('#{ $base-images-path }/Base/select@2x.png', 8px, 4px);
|
||||
appearance: none;
|
||||
background-image: url('#{ $base-images-path }/Base/select.png');
|
||||
background-position: right 13px center;
|
||||
background-repeat: no-repeat;
|
||||
height: $input-height;
|
||||
padding-right: 30px;
|
||||
.frm-FormSelect_Select {
|
||||
select {
|
||||
@include form-element-base-style();
|
||||
@include image-2x('#{ $base-images-path }/Base/select@2x.png', 8px, 4px);
|
||||
appearance: none;
|
||||
background-image: url('#{ $base-images-path }/Base/select.png');
|
||||
background-position: right 13px center;
|
||||
background-repeat: no-repeat;
|
||||
height: $input-height;
|
||||
padding-right: 30px;
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,15 @@ export const FormSelect = ({
|
|||
<label className="frm-FormSelect_Title" htmlFor={id}>
|
||||
{title}
|
||||
</label>
|
||||
<Select.Creatable name={name} id={id} value={value} onChange={onChange} options={options} disabled={disabled} />
|
||||
<Select.Creatable
|
||||
className="frm-FormSelect_Select"
|
||||
name={name}
|
||||
id={id}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
options={options}
|
||||
disabled={disabled}
|
||||
/>
|
||||
{hint ? <FormHint text={hint} networkBranch={networkBranch} /> : null}
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue