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
…61726)

* Improve link conrol preview when show button text label is enabled.

* Reduce gap.

* Remove right alignment.

Co-authored-by: afercia <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: richtabor <[email protected]>
  • Loading branch information
5 people authored May 24, 2024
1 parent f9df151 commit 6f0037c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/block-editor/src/components/link-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,19 @@ $block-editor-link-control-number-of-actions: 1;
}

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

.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

1 comment on commit 6f0037c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 6f0037c.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9219788720
📝 Reported issues:

Please sign in to comment.