Skip to content

Commit

Permalink
KAD-3623 fix for button fixed width % in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbert-hernandez committed Dec 10, 2024
1 parent 69ea93a commit d48b02a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/blocks/singlebtn/components/backend-styles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit d48b02a

Please sign in to comment.