Skip to content

Commit

Permalink
fix default value for crossDirection
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeRx committed Feb 19, 2025
1 parent 3848e27 commit c9da040
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/components/app/snaps/snap-ui-renderer/components/box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ function generateAlignItems(

switch (crossAlignment) {
default:
// align-items defaults to stretch but it's not available in the JustifyContent enum
return undefined;
case 'start':
return AlignItems.flexStart;

Expand Down

0 comments on commit c9da040

Please sign in to comment.