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
src/components/Table/src/BasicTable.vue
... | ... | @@ -365,12 +365,6 @@ |
365 | 365 | } |
366 | 366 | } |
367 | 367 | |
368 | - &--inset { | |
369 | - .ant-table-wrapper { | |
370 | - padding: 0; | |
371 | - } | |
372 | - } | |
373 | - | |
374 | 368 | .ant-tag { |
375 | 369 | margin-right: 0; |
376 | 370 | } |
... | ... | @@ -431,5 +425,11 @@ |
431 | 425 | padding: 12px 8px; |
432 | 426 | } |
433 | 427 | } |
428 | + | |
429 | + &--inset { | |
430 | + .ant-table-wrapper { | |
431 | + padding: 0; | |
432 | + } | |
433 | + } | |
434 | 434 | } |
435 | 435 | </style> | ... | ... |