Skip to content

Commit

Permalink
Global Styles Sidebar: wrap the preview box in a CardMedia component (
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo authored Apr 4, 2022
1 parent e4252e4 commit 1749166
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
CardBody,
Card,
CardDivider,
CardMedia,
} from '@wordpress/components';
import { isRTL, __ } from '@wordpress/i18n';
import { chevronLeft, chevronRight, Icon } from '@wordpress/icons';
Expand Down Expand Up @@ -37,7 +38,9 @@ function ScreenRoot() {
<CardBody>
<VStack spacing={ 2 }>
<Card>
<StylesPreview />
<CardMedia>
<StylesPreview />
</CardMedia>
</Card>
{ !! variations?.length && (
<NavigationButton path="/variations">
Expand Down

0 comments on commit 1749166

Please sign in to comment.