Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Font size presets UI #63057

Open
wants to merge 18 commits into
base: trunk
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
fixing font size presets count button size
  • Loading branch information
matiasbenedetto committed Jul 3, 2024
commit cea269f2430e67e8241a74964c63ef1148f24a10
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ function FontSizes() {
<Subtitle level={ 3 }>{ __( 'Font Sizes' ) }</Subtitle>
</HStack>
<ItemGroup isBordered isSeparated>
<NavigationButtonAsItem path="/typography/font-sizes/">
<HStack justify="space-between" align="center">
<NavigationButtonAsItem
path="/typography/font-sizes/"
aria-label={ __( 'Edit font size presets' ) }
>
<HStack direction="row">
<FlexItem>
{ sprintf(
/* translators: %d: number of font sizes */
Expand All @@ -53,11 +56,7 @@ function FontSizes() {
fontSizesCount
) }
</FlexItem>
<FlexItem>
<Icon
icon={ isRTL() ? chevronLeft : chevronRight }
/>
</FlexItem>
<Icon icon={ isRTL() ? chevronLeft : chevronRight } />
</HStack>
</NavigationButtonAsItem>
</ItemGroup>
Expand Down
Loading