File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
block-components/typography
components/advanced-range-control Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -265,9 +265,9 @@ export const Controls = props => {
265265 allowReset = { true }
266266 attribute = { attributeName ( 'fontSize' ) }
267267 units = { [ 'px' , 'em' , 'rem' ] }
268- min = { [ 0 , 0 ] }
269- sliderMax = { [ 150 , 7 ] }
270- step = { [ 1 , 0.05 ] }
268+ min = { [ 0 , 0 , 0 ] }
269+ sliderMax = { [ 150 , 7 , 7 ] }
270+ step = { [ 1 , 0.05 , 0.05 ] }
271271 placeholder = { props . sizePlaceholder }
272272 responsive = "all"
273273 helpTooltip = { {
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ const AdvancedRangeControl = props => {
230230 variant = "tertiary"
231231 onClick = { ( ) => {
232232 // Set the value when changing from mark mode to custom
233- if ( isMarkMode && rangeValue ) {
233+ if ( isMarkMode && rangeValue !== - 1 ) {
234234 rangeOnChange ( rangeValue , 'size' )
235235 }
236236 setIsMarkMode ( ! isMarkMode )
You can’t perform that action at this time.
0 commit comments