Skip to content

Commit

Permalink
Update media query value label (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Oct 13, 2024
1 parent 6077dbb commit c6bd268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/source-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default function SourceEditor( {
</ToggleGroupControl>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Media query value', 'enable-responsive-image' ) }
label={ __( 'Media query value (px)', 'enable-responsive-image' ) }
value={ mediaValue || DEFAULT_MEDIA_VALUE }
onChange={ onChangeMediaValue }
min={ MIN_MEDIA_VALUE }
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class MediaUtils {
name: 'Editor settings',
} );
const ImageSourcesPanel = await blockSettings.locator( '.enable-responsive-image' );
await ImageSourcesPanel.getByRole( 'spinbutton', { name: 'Media query value' } )
await ImageSourcesPanel.getByRole( 'spinbutton', { name: 'Media query value (px)' } )
.nth( index )
.fill( value );
}
Expand Down

0 comments on commit c6bd268

Please sign in to comment.