Skip to content

fix: 修复vxe-table高度样式问题#262

Open
cshaptx4869 wants to merge 1 commit intoun-pany:mainfrom
cshaptx4869:patch-6
Open

fix: 修复vxe-table高度样式问题#262
cshaptx4869 wants to merge 1 commit intoun-pany:mainfrom
cshaptx4869:patch-6

Conversation

@cshaptx4869
Copy link
Contributor

问题:启用 footer 时,高度不够时会被自动拉伸高度
PixPin_2025-09-16_14-19-59
修复:设置 table 的 minHeight(默认是 144)

问题:没有数据行时,自定义列配置高度很小(因为设置了 max-height: 8px;)
PixPin_2025-09-16_14-20-51
修复:修改样式,设置 min-height

@ke8xiao
Copy link

ke8xiao commented Jan 4, 2026

Preparing review...

3 similar comments
@ke8xiao
Copy link

ke8xiao commented Jan 4, 2026

Preparing review...

@ke8xiao
Copy link

ke8xiao commented Jan 4, 2026

Preparing review...

@ke8xiao
Copy link

ke8xiao commented Jan 4, 2026

Preparing review...

@ke8xiao
Copy link

ke8xiao commented Jan 4, 2026

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Table Height Configuration

Verify that the new minHeight: 46 setting works as expected with footer enabled and doesn't cause unexpected layout issues.

minHeight: 46,
Custom Column Styling

Validate that the new min-height: 80px for custom column configuration improves empty table display without affecting other table states.

min-height: 80px;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants