Skip to content

Commit

Permalink
fix(badge): fix button border on hover conflicts with badge (#1197)
Browse files Browse the repository at this point in the history
Co-authored-by: 07akioni <07akioni2@gmail.com>
  • Loading branch information
XieZongChen and 07akioni authored Sep 18, 2021
1 parent f5ef4ce commit c6058bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# CHANGELOG

### Feats

- `n-menu` add `accordion` prop , closes [#917](https://github.com/TuSimple/naive-ui/issues/917).

## Pending

### Breaking Changes
Expand All @@ -13,11 +9,13 @@
### Feats

- `n-layout-sider` add `collapsed-trigger-style` prop.
- `n-menu` add `accordion` prop , closes [#917](https://github.com/TuSimple/naive-ui/issues/917).
- `n-input-number` add `readonly` prop , closes [#1198](https://github.com/TuSimple/naive-ui/issues/1198).

### Fixes

- Fix `n-select` focus input when closing tag with `filterable` , closes [#1170](https://github.com/TuSimple/naive-ui/issues/1170).
- Fix `n-button` border on hover conflicts with `n-badge`, closes [#1195](https://github.com/TuSimple/naive-ui/issues/1195).

## 2.18.2 (2021-09-14)

Expand Down
6 changes: 2 additions & 4 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# CHANGELOG

### Feats

- `n-menu` 添加 `accordion` 属性,关闭 [#917](https://github.com/TuSimple/naive-ui/issues/917)

## Pending

### Breaking Changes
Expand All @@ -13,11 +9,13 @@
### Feats

- `n-layout-sider` 新增 `collapsed-trigger-style` 属性
- `n-menu` 添加 `accordion` 属性,关闭 [#917](https://github.com/TuSimple/naive-ui/issues/917)
- `n-input-number` 新增 `readonly` 属性,关闭 [#1198](https://github.com/TuSimple/naive-ui/issues/1198)

### Fixes

- 修复 `n-select` `filterable` 下关闭标签 input 光标聚焦问题,关闭 [#1170](https://github.com/TuSimple/naive-ui/issues/1170)
- 修复 `n-button` 在 hover 状态下边框与 `n-badge` 冲突,关闭 [#1195](https://github.com/TuSimple/naive-ui/issues/1195)

## 2.18.2 (2021-09-14)

Expand Down
1 change: 1 addition & 0 deletions src/badge/src/styles/index.cssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default c([
left: 100%;
bottom: calc(100% - 9px);
font-variant-numeric: tabular-nums;
z-index: 1;
`,
[
fadeInScaleUpTransition({
Expand Down

0 comments on commit c6058bf

Please sign in to comment.