Skip to content

Commit

Permalink
fix(buttom): fix content placeholder incorrect when displayed as block,
Browse files Browse the repository at this point in the history
  • Loading branch information
jizai1125 committed Jun 26, 2022
1 parent 049431b commit c6b4eaa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## NEXT_VERSION

### Fixes

- Fix `n-button` content placeholder incorrect when displayed as block, closes [#3178](https://github.com/TuSimple/naive-ui/issues/3178).

## 2.30.6

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

## NEXT_VERSION

### Fixes

- 修复 `n-button` 显示为块级时内容占位不正确, 关闭 [#3178](https://github.com/TuSimple/naive-ui/issues/3178).

## 2.30.6

### Fixes
Expand Down
1 change: 1 addition & 0 deletions src/button/src/styles/index.cssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export default c([
display: flex;
align-items: center;
flex-wrap: nowrap;
min-width: 0;
`, [
c('~', [
cE('icon', {
Expand Down

0 comments on commit c6b4eaa

Please sign in to comment.