Skip to content

Commit

Permalink
fix(badge): fix n-button border on hover conflicts with n-badge
Browse files Browse the repository at this point in the history
  • Loading branch information
XieZongChen committed Sep 18, 2021
1 parent fd4c51a commit aec00ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# CHANGELOG

### Feats

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

### Breaking Changes
Expand All @@ -12,10 +9,12 @@
### Feats

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

### 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
7 changes: 3 additions & 4 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# CHANGELOG

### Feats

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

### Breaking Changes
Expand All @@ -12,10 +9,12 @@
### Feats

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

### 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 Expand Up @@ -1432,4 +1431,4 @@

### Feats

- `n-data-table` 增加了 empty 插槽 [#86](https://github.com/TuSimple/naive-ui/issues/86)
- `n-data-table` 增加了 empty 插槽 [#86](https://github.com/TuSimple/naive-ui/issues/86)
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 aec00ec

Please sign in to comment.