Skip to content

Commit 630edad

Browse files
committed
Dashboard: Fix horizontal overflow in /bridge page (#8302)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the styling of the `bridge-page` component by adding an `overflow-hidden` class to a `div`, which likely improves the layout and prevents overflow issues. ### Detailed summary - Added `overflow-hidden` class to the `div` in the `bridge-page` component to manage overflow behavior. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated the bridge page container to refine content display behavior and ensure consistent visual presentation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent f757e60 commit 630edad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/app/bridge/components/bridge-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function BridgePageUI(props: {
2020
<div className="grow flex flex-col">
2121
<BridgePageHeader />
2222

23-
<div className="flex grow items-center justify-center px-4 relative pt-12 pb-20 lg:py-28 min-h-[calc(100dvh-60px)]">
23+
<div className="flex grow items-center justify-center px-4 relative pt-12 pb-20 lg:py-28 min-h-[calc(100dvh-60px)] overflow-hidden">
2424
<DotsBackgroundPattern />
2525
<UniversalBridgeEmbed buyTab={props.buyTab} swapTab={props.swapTab} />
2626
</div>

0 commit comments

Comments
 (0)