Skip to content

Commit

Permalink
remove unneeded double shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Jul 31, 2024
1 parent 2525a5f commit f764e96
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ $block-inserter-tabs-height: 44px;
height: calc(100% + #{$border-width});
background: $gray-100;
border-top: $border-width solid $gray-200;
box-shadow: $border-width $border-width 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.

.block-editor-inserter__media-list,
.block-editor-block-patterns-list {
Expand Down Expand Up @@ -691,12 +690,6 @@ $block-inserter-tabs-height: 44px;
height: 100%;
}
}

// Remove doubled-up shadow that occurs when categories panel is opened, only in zoom out.
// Shadow cannot be removed from the source, as it is required when not zoomed out.
.block-editor-inserter__category-panel {
box-shadow: none;
}
}

.show-icon-labels {
Expand Down

0 comments on commit f764e96

Please sign in to comment.