Skip to content

Commit

Permalink
Improve svi/svb description
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Oct 9, 2023
1 parent bee58b2 commit fe741ae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/components/src/unit-control/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,17 @@ const allUnits: Record< string, WPUnitControlUnit > = {
},
svi: {
value: 'svi',
label: isWeb ? 'svi' : __( 'Small viewport width or height (svi)' ),
label: isWeb
? 'svi'
: __( 'Viewport smallest size in the inline direction (svi)' ),
a11yLabel: __( 'Small viewport width or height (svi)' ),
step: 0.1,
},
svb: {
value: 'svb',
label: isWeb ? 'svb' : __( 'Small viewport width or height (svb)' ),
label: isWeb
? 'svb'
: __( 'Viewport smallest size in the block direction (svb)' ),
a11yLabel: __( 'Small viewport width or height (svb)' ),
step: 0.1,
},
Expand Down

0 comments on commit fe741ae

Please sign in to comment.