Skip to content

Commit

Permalink
fix(input): borderHover does not work (#1706)
Browse files Browse the repository at this point in the history
* fix(input): borderHover does not work

* Update CHANGELOG.en-US.md

Co-authored-by: XieZongChen <[email protected]>

* Update CHANGELOG.zh-CN.md

Co-authored-by: XieZongChen <[email protected]>

Co-authored-by: yugang.cao <[email protected]>
Co-authored-by: XieZongChen <[email protected]>
Co-authored-by: 07akioni <[email protected]>
  • Loading branch information
4 people authored Dec 2, 2021
1 parent c318990 commit c76925c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixes

- Fix `n-input` 's `borderHover` theme variable doesn't work, closes [#1704](https://github.com/TuSimple/naive-ui/issues/1704).
- Fix `n-dialog`'s `content` word-break.
- Fix `n-input-number` cannot input decimals value.

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixes

- 修复 `n-input``borderHover` 主题变量不生效, 关闭 [#1704](https://github.com/TuSimple/naive-ui/issues/1704)
- 修复 `n-dialog``content` 内容为英文时的换行问题
- 修复 `n-input-number` 不能输入小数值

Expand Down
2 changes: 1 addition & 1 deletion src/input/src/styles/input.cssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export default c([
]),
c('&:hover', [
cE('state-border', {
border: 'var(--border-focus)'
border: 'var(--border-hover)'
})
])
]),
Expand Down

0 comments on commit c76925c

Please sign in to comment.