Skip to content

Commit

Permalink
feat: Adjust URL input content alignment
Browse files Browse the repository at this point in the history
Align with content layout with that found in other existing bottom
sheets.
  • Loading branch information
dcalhoun committed Sep 1, 2023
1 parent 09e48fa commit e104bd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import {
MEDIA_TYPE_AUDIO,
MEDIA_TYPE_ANY,
} from './constants';
import styles from './style.scss';

const URL_MEDIA_SOURCE = 'URL';

Expand Down Expand Up @@ -320,7 +321,7 @@ function URLInput( props ) {
isVisible={ props.isVisible }
onClose={ props.onClose }
>
<PanelBody>
<PanelBody style={ styles[ 'media-upload__link-input' ] }>
<TextControl
// eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.media-upload__link-input {
padding-left: 0;
padding-right: 0;
}

0 comments on commit e104bd3

Please sign in to comment.