From d48b02a0c51c0bd05b75a584f763c63cf69ba6d2 Mon Sep 17 00:00:00 2001 From: gilbert-hernandez Date: Tue, 10 Dec 2024 10:43:34 -0700 Subject: [PATCH] KAD-3623 fix for button fixed width % in editor --- src/blocks/singlebtn/components/backend-styles/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blocks/singlebtn/components/backend-styles/index.js b/src/blocks/singlebtn/components/backend-styles/index.js index 859a39935..fa138731e 100644 --- a/src/blocks/singlebtn/components/backend-styles/index.js +++ b/src/blocks/singlebtn/components/backend-styles/index.js @@ -913,6 +913,8 @@ export default function BackendStyles(props) { ? previewFixedWidth + (undefined !== widthUnit ? widthUnit : 'px') : undefined ); + css.set_selector(`.kb-single-btn-${uniqueID} .tooltip-ref-wrap`); + css.add_property('width', '100%'); //hover styles css.set_selector(`.kb-single-btn-${uniqueID} .kt-button-${uniqueID}:hover`);