Skip to content

Commit

Permalink
fixup! Feat(web-twig): Add alignmentX and alignmentY prop to Grid com…
Browse files Browse the repository at this point in the history
…ponent #DS-1414
  • Loading branch information
pavelklibani committed Aug 21, 2024
1 parent 3f0f0df commit c7ea6b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web-twig/src/Resources/components/Grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,23 @@ The available values for these properties can be found in our [alignment diction

Both props can be set using either fixed values or objects with breakpoint-specific settings to ensure the alignment adapts across different screen sizes.

Horizontal Alignment:
Horizontal alignment:

```twig
<Grid alignmentX="left">
<!-- Grid content -->
</Grid>
```

Horizontal and Vertical Alignment:
Horizontal and vertical alignment:

```twig
<Grid alignmentX="left" alignmentY="top">
<!-- Grid content -->
</Grid>
```

Responsive Horizontal and Vertical Alignment:
Responsive horizontal and vertical alignment:

```twig
<Grid
Expand Down

0 comments on commit c7ea6b7

Please sign in to comment.