From 4cab4e27ff9276e70206650858a641fa460b9a3a Mon Sep 17 00:00:00 2001 From: Kaylee George <62825936+kayleegeorge@users.noreply.github.com> Date: Fri, 26 Aug 2022 13:47:41 -0700 Subject: [PATCH] fix: fix favorites button responsiveness on tokens explore (#4520) fav button responsiveness --- src/components/Tokens/TokenTable/FavoriteButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Tokens/TokenTable/FavoriteButton.tsx b/src/components/Tokens/TokenTable/FavoriteButton.tsx index 7987854cd0..0459a843ce 100644 --- a/src/components/Tokens/TokenTable/FavoriteButton.tsx +++ b/src/components/Tokens/TokenTable/FavoriteButton.tsx @@ -3,7 +3,7 @@ import { useAtom } from 'jotai' import { Heart } from 'react-feather' import styled, { useTheme } from 'styled-components/macro' -import { SMALL_MEDIA_BREAKPOINT } from '../constants' +import { SMALLEST_MOBILE_MEDIA_BREAKPOINT } from '../constants' import { showFavoritesAtom } from '../state' const FavoriteButtonContent = styled.div` @@ -27,7 +27,7 @@ const StyledFavoriteButton = styled.button<{ active: boolean }>` } ` const FavoriteText = styled.span` - @media only screen and (max-width: ${SMALL_MEDIA_BREAKPOINT}) { + @media only screen and (max-width: ${SMALLEST_MOBILE_MEDIA_BREAKPOINT}) { display: none; } `