Skip to content

Commit

Permalink
Update metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed May 21, 2024
1 parent 3c76b9b commit 9bd3182
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ export default function InserterContentNavigator( { categories, children } ) {
role="tree"
aria-label={ 'Categories' }
>
<VStack>
<VStack
spacing={ 1 }
className="block-editor-inserter__mobile-tab-navigation-buttons"
>
{ categories.map( ( category ) => (
<CompositeItem
key={ category.name }
Expand Down
10 changes: 9 additions & 1 deletion packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ $block-inserter-tabs-height: 44px;

.block-editor-inserter__search {
padding: $grid-unit-20;
padding-bottom: $grid-unit-10;
}

.block-editor-inserter__tabs {
Expand Down Expand Up @@ -322,11 +323,12 @@ $block-inserter-tabs-height: 44px;

.block-editor-block-patterns-list {
padding: $grid-unit-20;
padding-top: $grid-unit-10;
}
}

.block-editor-inserter__patterns-category-panel-header {
padding: 0 $grid-unit-20;
padding: $grid-unit-05 $grid-unit-20 $grid-unit-20;
}

.block-editor-inserter__patterns-category-no-results {
Expand Down Expand Up @@ -626,6 +628,9 @@ $block-inserter-tabs-height: 44px;
}
}

.block-editor-inserter__mobile-tab-navigation .components-button {
padding-right: $grid-unit-10;
}

.block-editor-inserter__mobile-tab-navigation {
height: 100%;
Expand All @@ -635,6 +640,9 @@ $block-inserter-tabs-height: 44px;
}
}

.block-editor-inserter__mobile-tab-navigation-buttons {
padding: $grid-unit-10;
}

.block-editor-inserter-media-tab-media-preview-inserter-external-image-modal {
@include break-small() {
Expand Down

0 comments on commit 9bd3182

Please sign in to comment.