Skip to content

Commit

Permalink
Merge pull request #6398 from Sage/FE-5894-badge-position-fix
Browse files Browse the repository at this point in the history
fix(badge): change the position and size of counter
  • Loading branch information
nuria1110 authored Nov 3, 2023
2 parents a79fa6b + 5d79943 commit 59c1e4a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/badge/badge.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const commonStyles = `
overflow: hidden;
border-radius: var(--borderRadiusCircle);
position: absolute;
top: -11px;
right: -11px;
top: -14px;
right: -4px;
padding: 0;
margin-right: 0;
background: var(--colorsActionMajorYang100);
Expand All @@ -33,8 +33,8 @@ const StyledBadge = styled.span.attrs(({ onClick }) => ({
align-items: center;
display: inline-flex;
justify-content: center;
width: 18px;
min-height: 18px;
width: 22px;
min-height: 22px;
border: solid 2px transparent;
border-color: var(--colorsActionMajor500);
color: var(--colorsActionMajor500);
Expand All @@ -47,8 +47,8 @@ const StyledBadge = styled.span.attrs(({ onClick }) => ({
${onClick &&
`
${commonStyles}
width: 22px;
min-height: 22px;
width: 26px;
min-height: 26px;
text-align: center;
::-moz-focus-inner {
Expand Down

0 comments on commit 59c1e4a

Please sign in to comment.