forked from github/dataease
Merge pull request #10590 from dataease/pr@dev-v2_st
fix(查询组件): 查询条件名称字号设置超过30,名称显示被遮挡
This commit is contained in:
commit
7267cc964d
@ -165,6 +165,7 @@ const setCustomStyle = val => {
|
||||
customStyle.labelColorBtn = labelColorBtn || '#ffffff'
|
||||
customStyle.labelShow = labelShow ?? true
|
||||
customStyle.btnColor = btnColor || '#3370ff'
|
||||
snapshotStore.recordSnapshotCache()
|
||||
}
|
||||
|
||||
watch(
|
||||
@ -450,7 +451,8 @@ const titleStyle = computed(() => {
|
||||
|
||||
const labelStyle = computed(() => {
|
||||
const style = {
|
||||
fontSize: customStyle.fontSize + 'px'
|
||||
fontSize: customStyle.fontSize + 'px',
|
||||
lineHeight: +customStyle.fontSize + 8 + 'px'
|
||||
} as CSSProperties
|
||||
if (customStyle.fontWeight) {
|
||||
style.fontWeight = customStyle.fontWeight
|
||||
|
Loading…
Reference in New Issue
Block a user