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
size of font size preset item
  • Loading branch information
matiasbenedetto committed Jul 4, 2024
commit f7df1dac4a16651b58ab2643173d74d8fc47d341
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,16 @@ function FontSizeGroup( {
</HStack>

{ !! sizes.length && (
<ItemGroup isBordered isSeparated>
<ItemGroup isBordered isSeparated size="large">
{ sizes.map( ( size ) => (
<NavigationButtonAsItem
key={ size.slug }
path={ `/typography/font-sizes/${ origin }/${ size.slug }` }
>
<HStack justify="space-between">
<HStack direction="row">
<FlexItem className="edit-site-font-size__item">
{ size.name }
</FlexItem>
``
<FlexItem className="edit-site-font-size__item edit-site-font-size__item-value">
{ size.size }
</FlexItem>
Expand Down
Loading