Skip to content

Commit 81a5043

Browse files
ntsekourasnoisysocks
authored andcommitted
[Global Styles]: Make Blocks section more distinguishable (#37293)
1 parent fba5bb5 commit 81a5043

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

packages/edit-site/src/components/global-styles/screen-root.js

+17-7
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
import {
55
__experimentalItemGroup as ItemGroup,
66
__experimentalItem as Item,
7+
__experimentalHStack as HStack,
8+
FlexItem,
79
CardBody,
810
Card,
911
CardDivider,
1012
} from '@wordpress/components';
11-
import { __ } from '@wordpress/i18n';
13+
import { isRTL, __ } from '@wordpress/i18n';
14+
import { chevronLeft, chevronRight, Icon } from '@wordpress/icons';
1215

1316
/**
1417
* Internal dependencies
@@ -33,14 +36,21 @@ function ScreenRoot() {
3336
<CardBody>
3437
<ItemGroup>
3538
<Item>
36-
<p>
37-
{ __(
38-
'Customize the appearance of specific blocks for the whole site.'
39-
) }
40-
</p>
39+
{ __(
40+
'Customize the appearance of specific blocks for the whole site.'
41+
) }
4142
</Item>
4243
<NavigationButton path="/blocks">
43-
{ __( 'Blocks' ) }
44+
<HStack justify="space-between">
45+
<FlexItem>{ __( 'Blocks' ) }</FlexItem>
46+
<FlexItem>
47+
<Icon
48+
icon={
49+
isRTL() ? chevronLeft : chevronRight
50+
}
51+
/>
52+
</FlexItem>
53+
</HStack>
4454
</NavigationButton>
4555
</ItemGroup>
4656
</CardBody>

0 commit comments

Comments
 (0)