Skip to content

Commit

Permalink
Revert "Fix Link Control action button visuals (#47306)"
Browse files Browse the repository at this point in the history
This reverts commit 2499646.
  • Loading branch information
getdave authored and ntsekouras committed Feb 23, 2023
1 parent 953d9a1 commit 1bcbcf0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/block-editor/src/components/link-control/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import classnames from 'classnames';
/**
* WordPress dependencies
*/
import { Button, Spinner, Notice, TextControl } from '@wordpress/components';
import {
Button,
ButtonGroup,
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 @@ -335,7 +341,7 @@ function LinkControl( {
{ errorMessage }
</Notice>
) }
<div className="block-editor-link-control__search-actions">
<ButtonGroup className="block-editor-link-control__search-actions">
<Button
variant="primary"
onClick={ handleSubmit }
Expand All @@ -347,7 +353,7 @@ function LinkControl( {
<Button variant="tertiary" onClick={ handleCancel }>
{ __( 'Cancel' ) }
</Button>
</div>
</ButtonGroup>
</>
) }

Expand Down

0 comments on commit 1bcbcf0

Please sign in to comment.