Skip to content

Commit

Permalink
Refactor: move media placeholder URL input form styles to URL popover…
Browse files Browse the repository at this point in the history
… component
  • Loading branch information
yogeshbhutkar committed Jan 6, 2025
1 parent 4b39807 commit 620ec1a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
.block-editor-media-placeholder__url-input-form {
min-width: 260px;

@include break-small() {
width: 300px;
}
}

.block-editor-media-placeholder__cancel-button.is-link {
margin: 1em;
display: block;
Expand Down
8 changes: 8 additions & 0 deletions packages/block-editor/src/components/url-popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
align-items: center;
}

.block-editor-media-placeholder__url-input-form {
min-width: 260px;

@include break-small() {
width: 300px;
}
}

// Any children of the popover-row that are not the settings-toggle
// should take up as much space as possible.
.block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
Expand Down

0 comments on commit 620ec1a

Please sign in to comment.