Просмотр исходного кода

refactor box-shadow LikeButtons.tsx

ryoji-s 3 лет назад
Родитель
Сommit
e7e0a4fb60
2 измененных файлов с 1 добавлено и 2 удалено
  1. 1 1
      packages/app/src/components/LikeButtons.tsx
  2. 0 1
      packages/app/src/styles/atoms/_buttons.scss

+ 1 - 1
packages/app/src/components/LikeButtons.tsx

@@ -51,7 +51,7 @@ const LikeButtons: FC<LikeButtonsProps> = (props: LikeButtonsProps) => {
         type="button"
         type="button"
         id="like-button"
         id="like-button"
         onClick={onLikeClicked}
         onClick={onLikeClicked}
-        className={`btn btn-like border-0
+        className={`shadow-none btn btn-like border-0
             ${isLiked ? 'active' : ''} ${isGuestUser ? 'disabled' : ''}`}
             ${isLiked ? 'active' : ''} ${isGuestUser ? 'disabled' : ''}`}
       >
       >
         <i className={`fa ${isLiked ? 'fa-heart' : 'fa-heart-o'}`}></i>
         <i className={`fa ${isLiked ? 'fa-heart' : 'fa-heart-o'}`}></i>

+ 0 - 1
packages/app/src/styles/atoms/_buttons.scss

@@ -7,7 +7,6 @@
   &:not(:disabled):not(.disabled):not(:hover) {
   &:not(:disabled):not(.disabled):not(:hover) {
     background-color: transparent;
     background-color: transparent;
   }
   }
-  box-shadow: none !important;
 }
 }
 
 
 .btn.btn-bookmark {
 .btn.btn-bookmark {