Skip to content

Commit

Permalink
Add padding to link placeholder (#29832)
Browse files Browse the repository at this point in the history
* Add padding to link placeholder

* Use the same padding rules as link labels

Co-authored-by: Andrei Draganescu <[email protected]>
Co-authored-by: Daniel Richards <[email protected]>
  • Loading branch information
3 people authored Mar 24, 2021
1 parent 1d89cd9 commit 5e8f92d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/edit-navigation/src/components/editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@
}
}

.wp-block-navigation-link__label {
.wp-block-navigation-link__label,
.wp-block-navigation-link__placeholder-text {
padding: $grid-unit-15;
padding-left: $grid-unit-30;
}

.wp-block-navigation-link__label {
// Without this Links with submenus display a pointer.
cursor: text;
}
Expand Down

0 comments on commit 5e8f92d

Please sign in to comment.