Skip to content

Commit

Permalink
fix: 修复 f-checkbox-group 组件 row-gap 配置项失效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Jun 13, 2024
1 parent 851b9fc commit 8bad95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

- 修复 `f-checkbox-group` 组件 `row-gap` 配置项失效问题

## 1.0.0-alpha.8 (2024-06-12)

- 修复 `f-image``f-avatar` 组件被挤压的问题
Expand Down
3 changes: 1 addition & 2 deletions packages/fighting-theme/src/checkbox-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
position: relative;
vertical-align: top;
column-gap: var(--checkbox-group-column-gap, 30px);
row-gap: var(--checkbox-group-row-gap, 0);
overflow: hidden;

// 纵向排列
&.f-checkbox-group__vertical {
flex-direction: column;
row-gap: var(--checkbox-group-row-gap, 20px);
}

// 背景状态
&.f-checkbox-group__background {
background: #ececf1;
flex-wrap: nowrap;
column-gap: var(--checkbox-group-column-gap, 2px);
row-gap: var(--checkbox-group-row-gap, 0);

.f-checkbox {
border-radius: 3px;
Expand Down

0 comments on commit 8bad95a

Please sign in to comment.