Skip to content

Commit

Permalink
Block Editor: Fix LinkControl text wrapping. (#20448)
Browse files Browse the repository at this point in the history
* Block Editor: Remove unnecessary styles from `LinkControl`.

* Block Editor: Fix `LinkControl` text wrapping.
  • Loading branch information
epiqueras authored Feb 28, 2020
1 parent 371faf7 commit 64b0490
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/block-editor/src/components/link-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ $block-editor-link-control-number-of-actions: 1;
.block-editor-link-control__search-item-header {
display: block;
margin-right: $grid-unit-30;
overflow: hidden;
white-space: nowrap;
}

.block-editor-link-control__search-item-icon {
Expand All @@ -160,9 +162,9 @@ $block-editor-link-control-number-of-actions: 1;

.block-editor-link-control__search-item-info,
.block-editor-link-control__search-item-title {
text-overflow: ellipsis;
max-width: 230px;
overflow: hidden;
text-overflow: ellipsis;
}

.block-editor-link-control__search-item-title mark {
Expand Down

0 comments on commit 64b0490

Please sign in to comment.