Skip to content

Commit

Permalink
fix: Update Label to use a token for its padding, instead of a hardco…
Browse files Browse the repository at this point in the history
…ded value (microsoft#30254)
  • Loading branch information
behowell authored Jan 26, 2024
1 parent a23df09 commit 2c3fdb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: Update Label to use a token for its padding, instead of a hardcoded value",
"packageName": "@fluentui/react-label",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const useStyles = makeStyles({

required: {
color: tokens.colorPaletteRedForeground3,
paddingLeft: '4px', // TODO: Once spacing tokens are added, change this to Horizontal XS
paddingLeft: tokens.spacingHorizontalXS,
},

small: {
Expand Down

0 comments on commit 2c3fdb3

Please sign in to comment.