Skip to content

Commit

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

@include break-small() {
width: 300px;
}
}
8 changes: 0 additions & 8 deletions packages/block-editor/src/components/url-popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
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
1 change: 1 addition & 0 deletions packages/block-editor/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
@import "./components/justify-content-control/style.scss";
@import "./components/link-control/style.scss";
@import "./components/list-view/style.scss";
@import "./components/media-placeholder/style.scss";
@import "./components/media-replace-flow/style.scss";
@import "./components/multi-selection-inspector/style.scss";
@import "./components/responsive-block-control/style.scss";
Expand Down

0 comments on commit 330a403

Please sign in to comment.