Skip to content

Commit

Permalink
fix sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
srgooglo committed Oct 12, 2023
1 parent 04f99a9 commit 2caa55b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions packages/app/src/components/LikeButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ export default (props) => {
}
<svg
className="heart"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path d="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z"></path>
Expand Down
20 changes: 10 additions & 10 deletions packages/app/src/components/LikeButton/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
border: none;
border-radius: 50%;

width: 1rem;
height: 1rem;
width: 1em;
height: 1em;

padding: 0;
margin: 0;
Expand All @@ -30,8 +30,8 @@
position: absolute;
top: 0;
left: 0;
width: 1rem;
height: 1rem;
width: 1em;
height: 1em;
border-radius: inherit;
transition: inherit;
}
Expand All @@ -41,8 +41,8 @@
position: absolute;
top: 0;
left: 0;
width: 1rem;
height: 1rem;
width: 1em;
height: 1em;
border-radius: inherit;
z-index: -1;
}
Expand Down Expand Up @@ -90,8 +90,8 @@

animation: none;

width: 1rem;
height: 1rem;
width: 1em;
height: 1em;

margin: 0;

Expand All @@ -101,8 +101,8 @@
.ripple {
position: absolute;

height: 1rem;
width: 1rem;
height: 1em;
width: 1em;

border-radius: 50%;
overflow: hidden;
Expand Down

0 comments on commit 2caa55b

Please sign in to comment.