From 2caa55b83df60570612d8049d4fd0d18cc9283e8 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 12 Oct 2023 19:56:08 +0000 Subject: [PATCH] fix sizes --- .../app/src/components/LikeButton/index.jsx | 2 -- .../app/src/components/LikeButton/index.less | 20 +++++++++---------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/packages/app/src/components/LikeButton/index.jsx b/packages/app/src/components/LikeButton/index.jsx index ce504c92..68d32562 100644 --- a/packages/app/src/components/LikeButton/index.jsx +++ b/packages/app/src/components/LikeButton/index.jsx @@ -33,8 +33,6 @@ export default (props) => { } diff --git a/packages/app/src/components/LikeButton/index.less b/packages/app/src/components/LikeButton/index.less index 352bee69..d92aaca6 100644 --- a/packages/app/src/components/LikeButton/index.less +++ b/packages/app/src/components/LikeButton/index.less @@ -12,8 +12,8 @@ border: none; border-radius: 50%; - width: 1rem; - height: 1rem; + width: 1em; + height: 1em; padding: 0; margin: 0; @@ -30,8 +30,8 @@ position: absolute; top: 0; left: 0; - width: 1rem; - height: 1rem; + width: 1em; + height: 1em; border-radius: inherit; transition: inherit; } @@ -41,8 +41,8 @@ position: absolute; top: 0; left: 0; - width: 1rem; - height: 1rem; + width: 1em; + height: 1em; border-radius: inherit; z-index: -1; } @@ -90,8 +90,8 @@ animation: none; - width: 1rem; - height: 1rem; + width: 1em; + height: 1em; margin: 0; @@ -101,8 +101,8 @@ .ripple { position: absolute; - height: 1rem; - width: 1rem; + height: 1em; + width: 1em; border-radius: 50%; overflow: hidden;