Commit bb381c39 authored by hetech's avatar hetech Committed by GitHub

Table: fix layout breaks when append slot exists (#16332)

parent 1d1fcdd5
......@@ -123,9 +123,7 @@
<div
v-if="$slots.append"
class="el-table__append-gutter"
:style="{
height: layout.appendHeight + 'px'
}"></div>
:style="{ height: layout.appendHeight + 'px'}"></div>
</div>
<div
v-if="showSummary"
......@@ -183,6 +181,10 @@
width: bodyWidth
}">
</table-body>
<div
v-if="$slots.append"
class="el-table__append-gutter"
:style="{ height: layout.appendHeight + 'px' }"></div>
</div>
<div
v-if="showSummary"
......
......@@ -81,6 +81,11 @@
width: 20px;
}
@include e(append-wrapper) {
// 避免外边距重合 https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing
overflow: hidden;
}
@include m(fit) {
border-right: 0;
border-bottom: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment