diff --git a/core/core-frontend/src/custom-component/component-list.ts b/core/core-frontend/src/custom-component/component-list.ts index 6616ea57c4..a439861e1b 100644 --- a/core/core-frontend/src/custom-component/component-list.ts +++ b/core/core-frontend/src/custom-component/component-list.ts @@ -648,7 +648,14 @@ export function findBaseDeFaultAttr(componentName) { if (comp.component === componentName) { const stylePropertyInner = [] Object.keys(comp.style).forEach(styleKey => { - stylePropertyInner.push(styleKey) + if ( + (!['width', 'height'].includes(styleKey) && + componentName === 'VQuery' && + !Object.keys(commonStyle).includes(styleKey)) || + componentName !== 'VQuery' + ) { + stylePropertyInner.push(styleKey) + } }) result = { properties: ['common-style', 'background-overall-component'],