Skip to content

Commit

Permalink
Improve link conrol preview when show button text label is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed May 16, 2024
1 parent 83faa5a commit 95fb3f8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/block-editor/src/components/link-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,19 @@ $block-editor-link-control-number-of-actions: 1;

.block-editor-link-control__search-item-top {
gap: $grid-unit-10;
flex-wrap: wrap;
justify-content: flex-end;

.components-button.has-icon {
min-width: inherit;
width: min-content;
width: auto;
padding: $grid-unit-05;
}
}

.is-preview .block-editor-link-control__search-item-header {
min-width: 100%;
margin-right: 0;
}
}
}

Expand Down

0 comments on commit 95fb3f8

Please sign in to comment.