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 }>`
73
73
74
74
// The button component is disabled but can respond to drag & select events
75
75
${ ( 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
+ }
83
85
` ;
84
86
85
87
/**
Original file line number Diff line number Diff line change @@ -961,7 +961,7 @@ function replaceAndMergeMultipleStyles(
961
961
962
962
export const ButtonStyle = [
963
963
getBackground ( 'primary' ) ,
964
- ...STYLING_FIELDS_SEQUENCE . filter ( style => style . name !== 'lineHeight' ) ,
964
+ ...STYLING_FIELDS_SEQUENCE ,
965
965
] as const ;
966
966
967
967
export const DropdownStyle = [
You can’t perform that action at this time.
0 commit comments