forked from github/dataease
Merge pull request #4059 from dataease/pr@dev@fix_label
fix(视图): 修复指标卡、文本卡没有垂直居中的问题
This commit is contained in:
commit
84686039ee
@ -157,7 +157,7 @@ export default {
|
||||
this.$nextTick(function() {
|
||||
if (that.$refs.tableContainer) {
|
||||
const currentHeight = that.$refs.tableContainer.offsetHeight
|
||||
const contentHeight = currentHeight - that.$refs.title.offsetHeight - 16
|
||||
const contentHeight = currentHeight - that.$refs.title.offsetHeight - 8
|
||||
that.height = contentHeight + 'px'
|
||||
that.content_class.height = that.height
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user