Skip to content

Commit

Permalink
MediaReplaceFlow: fix styling for LinkControl
Browse files Browse the repository at this point in the history
  • Loading branch information
brookewp committed Feb 9, 2023
1 parent bbf1e85 commit 32a9a9c
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,22 @@
}

.block-editor-link-control {
width: 220px; // Hardcoded width avoids resizing of control when switching between preview/edit.
width: 328px; // Hardcoded width avoids resizing of control when switching between preview/edit.

.block-editor-url-input {
padding: 0; // Cancel unnecessary default 1px padding in this case.
margin: 0; // Reset default LinkControl margins.
}

.components-base-control .components-base-control__field {
margin-bottom: 0;
}

.block-editor-link-control__search-item-title {
max-width: 180px;
.block-editor-link-control__search-item-title,
.block-editor-link-control__search-item-info {
max-width: 220px;
white-space: nowrap;
}

.block-editor-link-control__search-item-info {
white-space: nowrap;
.block-editor-link-control__tools {
justify-content: flex-end;
padding: $grid-unit-20 0 0;
}

.block-editor-link-control__search-item.is-current {
Expand Down

0 comments on commit 32a9a9c

Please sign in to comment.