Skip to content

Commit 422a725

Browse files
committed
[Dashboard] Fix airdrop erc20 scroll issue (#4909)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on modifying the `className` of the `SheetContent` component in the `airdrop-button.tsx` file to improve its styling by adding an `overflow-y-auto` class, allowing for vertical scrolling if the content exceeds the available space. ### Detailed summary - Updated the `className` of the `SheetContent` component: - Added `overflow-y-auto` to enable vertical scrolling. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent d1d3fdc commit 422a725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const TokenAirdropButton: React.FC<TokenAirdropButtonProps> = ({
4141
Airdrop
4242
</Button>
4343
</SheetTrigger>
44-
<SheetContent className="z-[10000] sm:w-[540px] sm:max-w-[90%] lg:w-[700px]">
44+
<SheetContent className="z-[10000] overflow-y-auto sm:w-[540px] sm:max-w-[90%] lg:w-[700px]">
4545
<SheetHeader>
4646
<SheetTitle>Aidrop tokens</SheetTitle>
4747
</SheetHeader>

0 commit comments

Comments
 (0)