Skip to content

Commit

Permalink
Address feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Mar 10, 2021
1 parent 801c028 commit 1ed95ac
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions packages/block-library/src/navigation-link/editor.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// Normalize Link and edit containers, to look mostly the same.
.wp-block-navigation-link__field .components-text-control__input.components-text-control__input, // @todo: this selector doesn't appear to target anything.
.wp-block-navigation-link__container {
border-radius: 0;

// Make it the same height as the appender to prevent a jump. Maybe revisit this.
// Make it the same height as the appender to prevent a jump.
min-height: $button-size;
}

Expand Down Expand Up @@ -39,28 +38,13 @@
}
}

// Separator. @todo: this appears unused.
.wp-block-navigation-link__separator {
margin: $grid-unit-10 0 $grid-unit-10;
border-top: $border-width solid $gray-300;
}

// Popover styles. @todo: these all appear unused.
.components-popover.wp-block-navigation-link__dropdown-content {
margin-top: -1px;
margin-left: -4px;
}

.wp-block-navigation-link__dropdown-content .components-popover__content > div {
padding: $grid-unit-10 0;
}

.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"] {
& > .block-editor-block-list__insertion-point {
display: none;
}
}


/**
* Menu item setup state. Is shown when a menu item has no URL configured.
*/
Expand Down

0 comments on commit 1ed95ac

Please sign in to comment.