Skip to content

Commit

Permalink
fix(table): 修复空状态下横向滚动条 (#2713)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyprepare committed Jan 16, 2024
1 parent aba4b72 commit 872663b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-emus-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/table": patch
---

fix: 修复空状态下横向滚动条问题
5 changes: 5 additions & 0 deletions .changeset/wet-schools-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/hiui": patch
---

fix(table): 修复空状态下横向滚动条问题
8 changes: 4 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.tslint": true,
"source.fixAll.stylelint": true,
"source.organizeImports": false
"source.fixAll.eslint": "explicit",
"source.fixAll.tslint": "explicit",
"source.fixAll.stylelint": "explicit",
"source.organizeImports": "never"
},
"cSpell.words": [
"autoload",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/table/src/styles/table.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '~@hi-ui/core-css/lib/index.scss';

$prefix: '#{$component-prefix}-table' !default;
$emptyContent: '#{$component-prefix}-table-empty-content' !default;
$emptyContent: '#{$component-prefix}-table-body-empty-content' !default;

.#{$prefix} {
box-sizing: border-box;
Expand Down

0 comments on commit 872663b

Please sign in to comment.