Skip to content

Commit b6440ab

Browse files
authored
chore: fix hot token list table style (#7350)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at 9ca3ee5</samp> ### Summary 📱🛠️🍽️ <!-- 1. 📱 - This emoji represents the improvement of the responsiveness and usability of the table on smaller screens, which is a common device for web users. 2. 🛠️ - This emoji represents the fixing of a layout issue, which is a type of bug or enhancement that affects the appearance and functionality of the website. 3. 🍽️ - This emoji represents the table component, which is a visual element of the website that displays data in rows and columns. --> Fix table overflow on info page. Add `overflow: hidden` to `TableWrapper` in `shared.tsx`. > _`TableWrapper` hides_ > _overflowing table cells_ > _autumn leaves fall neat_ ### Walkthrough * Prevent table overflow on info page by adding `overflow: hidden` to `TableWrapper` ([link](https://github.com/pancakeswap/pancake-frontend/pull/7350/files?diff=unified&w=0#diff-e8f08a6208b09c2416d8c1a6941b97fc1abd3e87e85730bae7dc48ffdd443fe7R22))
1 parent 0cde240 commit b6440ab

File tree

1 file changed

+1
-0
lines changed
  • apps/web/src/views/Info/components/InfoTables

1 file changed

+1
-0
lines changed

apps/web/src/views/Info/components/InfoTables/shared.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const TableWrapper = styled(Flex)`
1919
${({ theme }) => theme.mediaQueries.md} {
2020
border-radius: ${({ theme }) => theme.radii.card};
2121
}
22+
overflow: hidden;
2223
`
2324

2425
export const PageButtons = styled.div`

0 commit comments

Comments
 (0)