Skip to content

Commit

Permalink
Change padding stack with icon header to only display padding on top …
Browse files Browse the repository at this point in the history
…of the icon
  • Loading branch information
paulinea committed Nov 20, 2024
1 parent 7594439 commit dd21e7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ private fun SpaceHeaderContent(spaceTokenProperty: TokenProperty<TokenCategory.D
TokenProperty.SpacePaddingInlineWithArrow,
TokenProperty.SpacePaddingInlineWithIcon -> PaddingValues(start = OudsSpaceKeyToken.Fixed.Shorter.value)
TokenProperty.SpacePaddingInline -> PaddingValues(horizontal = OudsSpaceKeyToken.Fixed.Shorter.value)
TokenProperty.SpacePaddingStack,
TokenProperty.SpacePaddingStackWithIcon -> PaddingValues(vertical = OudsSpaceKeyToken.Fixed.Shorter.value)
TokenProperty.SpacePaddingStack -> PaddingValues(vertical = OudsSpaceKeyToken.Fixed.Shorter.value)
TokenProperty.SpacePaddingStackWithIcon -> PaddingValues(top = OudsSpaceKeyToken.Fixed.Shorter.value)
TokenProperty.SpacePaddingInset -> PaddingValues(all = OudsSpaceKeyToken.Fixed.Shorter.value)
else -> PaddingValues(all = 0.dp)
}
Expand Down

0 comments on commit dd21e7d

Please sign in to comment.