File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
client/packages/lowcoder/src/comps Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,15 @@ export const ButtonCompWrapper = styled.div<{ $disabled: boolean }>`
7373
7474 // The button component is disabled but can respond to drag & select events
7575 ${ ( props ) =>
76- props . $disabled &&
77- `
78- cursor: not-allowed;
79- button:disabled {
80- pointer-events: none;
81- }
82- ` } ;
76+ props . $disabled
77+ ? `
78+ cursor: not-allowed;
79+ button:disabled {
80+ pointer-events: none;
81+ }
82+ `
83+ : ""
84+ }
8385` ;
8486
8587/**
Original file line number Diff line number Diff line change @@ -961,7 +961,7 @@ function replaceAndMergeMultipleStyles(
961961
962962export const ButtonStyle = [
963963 getBackground ( 'primary' ) ,
964- ...STYLING_FIELDS_SEQUENCE . filter ( style => style . name !== 'lineHeight' ) ,
964+ ...STYLING_FIELDS_SEQUENCE ,
965965] as const ;
966966
967967export const DropdownStyle = [
You can’t perform that action at this time.
0 commit comments