From 74ad69138cb0bef9f7303ab0e99bbc7206d1f95f Mon Sep 17 00:00:00 2001 From: kalykun <984757534@qq.com> Date: Wed, 7 Jul 2021 23:48:51 +0800 Subject: [PATCH] fix(input): fix clearable position (#431) * fix(input): fix clearable position * Update CHANGELOG.zh-CN.md Co-authored-by: 07akioni <07akioni2@gmail.com> --- CHANGELOG.en-US.md | 1 + CHANGELOG.zh-CN.md | 1 + src/input/src/Input.tsx | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index d10a44c06..ea8da9d44 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -4,6 +4,7 @@ - Fix `n-select` bug in using custom label, closes [#352](https://github.com/TuSimple/naive-ui/issues/352). - Fix `n-carousel` when `autoplay` dot active status isn't displayed correctly, closes [#434](https://github.com/TuSimple/naive-ui/issues/434). +- Fix `n-input` fixed clearable position, closes [#428](https://github.com/TuSimple/naive-ui/issues/428). ### Feats diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 117cf4f4e..b58ac8e61 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -4,6 +4,7 @@ - 修复 `n-select` 自定义 label 的显示问题,关闭 [#352](https://github.com/TuSimple/naive-ui/issues/352) - 修复 `n-carousel` 设定 `autoplay` 点击后 dot active 状态不正常,关闭 [#434](https://github.com/TuSimple/naive-ui/issues/434) +- 修复 `n-input` 清空按钮位置引起的样式问题,关闭 [#428](https://github.com/TuSimple/naive-ui/issues/428) ### Feats diff --git a/src/input/src/Input.tsx b/src/input/src/Input.tsx index ce3ceb742..f0d055e78 100644 --- a/src/input/src/Input.tsx +++ b/src/input/src/Input.tsx @@ -943,7 +943,6 @@ export default defineComponent({ this.loading !== undefined) ? (