Skip to content

Commit 94c3abf

Browse files
committed
Border-radius values triggers unintended px conversion
1 parent 30f9c3b commit 94c3abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/block-editor/src/components/border-radius-control/single-input-control.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export default function SingleInputControl( {
7474
const onChangeUnit = ( next ) => {
7575
const newUnits = { ...selectedUnits };
7676
if ( corner === 'all' ) {
77+
newUnits.flat = next;
7778
newUnits.topLeft = next;
7879
newUnits.topRight = next;
7980
newUnits.bottomLeft = next;

0 commit comments

Comments
 (0)