Commit 84c7d516df05cc158389d42c7626a16559186610
1 parent
15ea0d2f
fix(table): prop `inset` take no effect
修复BasicTabled的inset属性不起作用的问题 fixed: #1209
Showing
2 changed files
with
9 additions
and
7 deletions
CHANGELOG.zh_CN.md
1 | ### 🐛 Bug Fixes | 1 | ### 🐛 Bug Fixes |
2 | 2 | ||
3 | -- **BasicTable** 修复可编辑单元格某些情况下无法提交的问题 | 3 | +- **BasicTable** |
4 | + - 修复可编辑单元格某些情况下无法提交的问题 | ||
5 | + - 修复`inset`属性不起作用的问题 | ||
4 | - **BasicModal** | 6 | - **BasicModal** |
5 | - 修复点击遮罩、按下`Esc`键都不能关闭`Modal`的问题 | 7 | - 修复点击遮罩、按下`Esc`键都不能关闭`Modal`的问题 |
6 | - 修复点击关闭按钮、最大化按钮旁边的空白区域也会导致`Modal`关闭的问题 | 8 | - 修复点击关闭按钮、最大化按钮旁边的空白区域也会导致`Modal`关闭的问题 |
src/components/Table/src/BasicTable.vue
@@ -365,12 +365,6 @@ | @@ -365,12 +365,6 @@ | ||
365 | } | 365 | } |
366 | } | 366 | } |
367 | 367 | ||
368 | - &--inset { | ||
369 | - .ant-table-wrapper { | ||
370 | - padding: 0; | ||
371 | - } | ||
372 | - } | ||
373 | - | ||
374 | .ant-tag { | 368 | .ant-tag { |
375 | margin-right: 0; | 369 | margin-right: 0; |
376 | } | 370 | } |
@@ -431,5 +425,11 @@ | @@ -431,5 +425,11 @@ | ||
431 | padding: 12px 8px; | 425 | padding: 12px 8px; |
432 | } | 426 | } |
433 | } | 427 | } |
428 | + | ||
429 | + &--inset { | ||
430 | + .ant-table-wrapper { | ||
431 | + padding: 0; | ||
432 | + } | ||
433 | + } | ||
434 | } | 434 | } |
435 | </style> | 435 | </style> |