Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
Comment thread
sopranopillow marked this conversation as resolved.
"type": "patch",
"comment": "#28576: [Bug]: Small <Button> is using 3px border radius",
Comment thread
AbdulRehmanMehar marked this conversation as resolved.
Outdated
"packageName": "@fluentui/react-button",
"email": "mehars.6925@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const buttonClassNames: SlotClassNames<ButtonSlots> = {
const iconSpacingVar = '--fui-Button__icon--spacing';

const buttonSpacingSmall = '3px';
const buttonBorderRadiusSmall = '4px';
Comment thread
sopranopillow marked this conversation as resolved.
Outdated
const buttonSpacingSmallWithIcon = '1px';
const buttonSpacingMedium = '5px';
const buttonSpacingLarge = '8px';
Expand Down Expand Up @@ -243,7 +244,7 @@ const useRootStyles = makeStyles({
minWidth: '64px',
...shorthands.padding(buttonSpacingSmall, tokens.spacingHorizontalS),

...shorthands.borderRadius(buttonSpacingSmall),
...shorthands.borderRadius(buttonBorderRadiusSmall),

fontSize: tokens.fontSizeBase200,
fontWeight: tokens.fontWeightRegular,
Expand Down