Commit 4cab4e27 authored by Kaylee George's avatar Kaylee George Committed by GitHub

fix: fix favorites button responsiveness on tokens explore (#4520)

fav button responsiveness
parent f105f099
......@@ -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;
}
`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment