diff --git a/src/components/Tokens/TokenTable/TokenRow.tsx b/src/components/Tokens/TokenTable/TokenRow.tsx index 87b4a05064..6fbca40070 100644 --- a/src/components/Tokens/TokenTable/TokenRow.tsx +++ b/src/components/Tokens/TokenTable/TokenRow.tsx @@ -14,7 +14,7 @@ import { CSSProperties, ReactNode } from 'react' import { ArrowDown, ArrowUp, Info } from 'react-feather' import { Link, useParams } from 'react-router-dom' import styled, { css, useTheme } from 'styled-components/macro' -import { ClickableStyle } from 'theme' +import { BREAKPOINTS, ClickableStyle } from 'theme' import { LARGE_MEDIA_BREAKPOINT, @@ -163,6 +163,10 @@ const NameCell = styled(Cell)` padding: 0px 8px; min-width: 240px; gap: 8px; + + @media only screen and (max-width: ${BREAKPOINTS.xs}px) { + min-width: 200px; + } ` const PriceCell = styled(DataCell)` padding-right: 8px; diff --git a/src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap b/src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap index fb443fb387..0d96f015f7 100644 --- a/src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap +++ b/src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap @@ -257,6 +257,12 @@ exports[`LoadedRow.tsx renders a row 1`] = ` } } +@media only screen and (max-width:396px) { + .c4 { + min-width: 200px; + } +} + @media only screen and (max-width:540px) { .c21 { display: none;