Skip to content

Commit

Permalink
Patterns: Remove category description in inserter panel? (#54894)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored and mikachan committed Oct 5, 2023
1 parent baf1425 commit 841537f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,6 @@ export function BlockPatternsCategoryPanel( {
category={ category }
/>
</HStack>
{ category.description && (
<Text>{ category.description }</Text>
) }
{ ! currentCategoryPatterns.length && (
<Text
variant="muted"
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ $block-inserter-tabs-height: 44px;
overflow-y: auto;
flex-grow: 1;
height: 100%;
padding: $grid-unit-40 $grid-unit-30;
padding: $grid-unit-20 $grid-unit-30;
}
}

Expand Down

0 comments on commit 841537f

Please sign in to comment.