Skip to content

Commit 749dc91

Browse files
committed
Updated disable max height button size configurations
1 parent 42ee723 commit 749dc91

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Diff for: src/ui/buttons/config.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -96,49 +96,49 @@ export const BUTTON_DISABLE_MAX_HEIGHT_STYLE: ButtonDisableMaxHeightStyleMap = {
9696
[BUTTON_DISABLE_HEIGHT_SIZE.TINY]: {
9797
defaultHeight: 25,
9898
minHeight: 25,
99-
maxHeight: 29,
99+
maxHeight: 30,
100100
},
101101

102102
[BUTTON_DISABLE_HEIGHT_SIZE.SMALL]: {
103103
defaultHeight: 30,
104104
minHeight: 30,
105-
maxHeight: 34,
105+
maxHeight: 35,
106106
},
107107

108108
[BUTTON_DISABLE_HEIGHT_SIZE.MEDIUM_SMALL]: {
109109
defaultHeight: 35,
110110
minHeight: 35,
111-
maxHeight: 39,
111+
maxHeight: 40,
112112
},
113113

114114
[BUTTON_DISABLE_HEIGHT_SIZE.MEDIUM_BIG]: {
115115
defaultHeight: 40,
116116
minHeight: 40,
117-
maxHeight: 44,
117+
maxHeight: 45,
118118
},
119119

120120
[BUTTON_DISABLE_HEIGHT_SIZE.LARGE_SMALL]: {
121121
defaultHeight: 45,
122122
minHeight: 45,
123-
maxHeight: 49,
123+
maxHeight: 50,
124124
},
125125

126126
[BUTTON_DISABLE_HEIGHT_SIZE.LARGE_BIG]: {
127127
defaultHeight: 50,
128128
minHeight: 50,
129-
maxHeight: 54,
129+
maxHeight: 55,
130130
},
131131

132132
[BUTTON_DISABLE_HEIGHT_SIZE.XL]: {
133133
defaultHeight: 55,
134134
minHeight: 55,
135-
maxHeight: 64,
135+
maxHeight: 65,
136136
},
137137

138138
[BUTTON_DISABLE_HEIGHT_SIZE.XXL]: {
139139
defaultHeight: 65,
140140
minHeight: 65,
141-
maxHeight: 74,
141+
maxHeight: 75,
142142
},
143143

144144
[BUTTON_DISABLE_HEIGHT_SIZE.XXXL]: {

Diff for: src/ui/buttons/styles/responsive.js

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
BUTTON_RELATIVE_STYLE,
1919
BUTTON_DISABLE_MAX_HEIGHT_STYLE,
2020
} from "../config";
21-
2221
import { isBorderRadiusNumber } from "../util";
2322
import type { Experiment } from "../../../types";
2423

0 commit comments

Comments
 (0)