Fix table height calculation not being exact
This commit is contained in:
parent
35f95d2fb3
commit
9e8742b710
|
@ -107,7 +107,7 @@
|
||||||
if (!rowCount || !visibleRows) {
|
if (!rowCount || !visibleRows) {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return `height: ${headerHeight + visibleRows * (rowHeight + 1)}px;`
|
return `height: ${headerHeight + visibleRows * rowHeight}px;`
|
||||||
}
|
}
|
||||||
|
|
||||||
const getGridStyle = (fields, schema, showEditColumn) => {
|
const getGridStyle = (fields, schema, showEditColumn) => {
|
||||||
|
@ -458,6 +458,7 @@
|
||||||
}
|
}
|
||||||
.spectrum-Table-row > :last-child {
|
.spectrum-Table-row > :last-child {
|
||||||
border-right: var(--table-border);
|
border-right: var(--table-border);
|
||||||
|
padding-right: var(--cell-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Table cells */
|
/* Table cells */
|
||||||
|
|
Loading…
Reference in New Issue