Skip to content

Commit

Permalink
Merge pull request #3805 from Sage/FE-3681-edge-button-border-radius
Browse files Browse the repository at this point in the history
fix(button): add border radius to button styles - FE-3681
  • Loading branch information
bulaj authored Mar 11, 2021
2 parents be7d309 + 7560ac9 commit bf0b2e3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/button/__snapshots__/button.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ exports[`Button when only the "iconPosition" and "iconType" props are passed int
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down Expand Up @@ -805,6 +806,7 @@ exports[`Button when only the "iconPosition" and "iconType" props are passed int
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down
2 changes: 2 additions & 0 deletions src/components/button/button.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const StyledButton = styled.button`
display: inline-flex;
flex-direction: column;
flex-flow: wrap;
border-radius: 0;
${noWrap &&
css`
white-space: nowrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exports[`DialogFullScreen dialogTitle has a Ref to the scrollable content and th
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ exports[`MultiActionButton when rendered should match the snapshot 1`] = `
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ exports[`Option renders properly 1`] = `
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ exports[`SplitButton for business themes renders styles correctly 1`] = `
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down Expand Up @@ -134,6 +135,7 @@ exports[`SplitButton for business themes renders styles correctly 1`] = `
-webkit-flex-flow: wrap;
-ms-flex-flow: wrap;
flex-flow: wrap;
border-radius: 0;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
Expand Down

0 comments on commit bf0b2e3

Please sign in to comment.