Skip to content

Commit

Permalink
fix(tabs): style bug with type is segment, closes tusen-ai#5728
Browse files Browse the repository at this point in the history
  • Loading branch information
jizai1125 committed Feb 29, 2024
1 parent 2f4cd55 commit a1b3030
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-tabs` style bug with type is `segment`,closes [#5728](https://github.com/tusen-ai/naive-ui/issues/5728)

## 2.38.1

`2024-02-26`
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-tabs` type 为 `segment` 时样式存在问题,closes [#5728](https://github.com/tusen-ai/naive-ui/issues/5728)

## 2.38.1

`2024-02-26`
Expand Down
1 change: 1 addition & 0 deletions src/tabs/src/styles/index.cssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export default cB('tabs', `
`)
]),
cB('tabs-rail', `
position: relative;
padding: 3px;
border-radius: var(--n-tab-border-radius);
width: 100%;
Expand Down

0 comments on commit a1b3030

Please sign in to comment.