Skip to content

Commit

Permalink
Fix Link Control action button visuals (#47306)
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave authored Jan 20, 2023
1 parent 77c6c5d commit 2499646
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/block-editor/src/components/link-control/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ import classnames from 'classnames';
/**
* WordPress dependencies
*/
import {
Button,
ButtonGroup,
Spinner,
Notice,
TextControl,
} from '@wordpress/components';
import { Button, Spinner, Notice, TextControl } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { useRef, useState, useEffect } from '@wordpress/element';
import { focus } from '@wordpress/dom';
Expand Down Expand Up @@ -341,7 +335,7 @@ function LinkControl( {
{ errorMessage }
</Notice>
) }
<ButtonGroup className="block-editor-link-control__search-actions">
<div className="block-editor-link-control__search-actions">
<Button
variant="primary"
onClick={ handleSubmit }
Expand All @@ -353,7 +347,7 @@ function LinkControl( {
<Button variant="secondary" onClick={ handleCancel }>
{ __( 'Cancel' ) }
</Button>
</ButtonGroup>
</div>
</>
) }

Expand Down

1 comment on commit 2499646

@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 2499646.
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/3965724146
📝 Reported issues:

Please sign in to comment.