Skip to content

Commit

Permalink
Add link-ui-popover class and apply margin at the top
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Dec 23, 2024
1 parent 0fb8403 commit dbd4f3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/navigation-link/link-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ function UnforwardedLinkUI( props, ref ) {
placement="bottom"
onClose={ props.onClose }
anchor={ props.anchor }
className="link-ui-popover"
shift
>
{ ! addingBlock && (
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/navigation-link/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@
margin-left: $grid-unit-10;
text-transform: uppercase;
}

.link-ui-popover {
margin-top: $default-block-margin;
}

0 comments on commit dbd4f3c

Please sign in to comment.