Skip to content

Commit 3e5e506

Browse files
committed
Fix the arrow position
1 parent eff5d91 commit 3e5e506

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

development/src/ant-phone/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,21 +242,21 @@ const PhoneInput = forwardRef(({
242242
value={selectValue}
243243
style={{display: "none"}}
244244
key={`${countryCode}_default`}
245-
label={<>
245+
label={<div style={{display: "flex"}}>
246246
<div className={`flag ${countryCode}`}/>
247247
{suffixIcon}
248-
</>}
248+
</div>}
249249
/>
250250
{countriesList.map(([iso, name, dial, pattern]) => {
251251
const mask = disableParentheses ? pattern.replace(/[()]/g, "") : pattern;
252252
return (
253253
<Select.Option
254254
value={iso + dial}
255255
key={`${iso}_${mask}`}
256-
label={<>
256+
label={<div style={{display: "flex"}}>
257257
<div className={`flag ${iso}`}/>
258258
{suffixIcon}
259-
</>}
259+
</div>}
260260
children={<div className={`${prefixCls}-phone-input-select-item`}>
261261
<div className={`flag ${iso}`}/>
262262
{countries[name]}&nbsp;{displayFormat(mask)}

0 commit comments

Comments
 (0)