Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: max button responsiveness #897

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const MaxButton = styled(UnstyledButton)`
@media ${QUERIESV2.sm.andDown} {
height: 24px;
padding: 0px 10px;
font-size: 12px;
}
`;

Expand Down
7 changes: 7 additions & 0 deletions src/views/Bridge/components/AmountInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@ const MaxButtonWrapper = styled(UnstyledButton)`
color: #e0f3ff;
border-color: #e0f3ff;
}

@media ${QUERIESV2.sm.andDown} {
padding: 0 10px;
height: 24px;
font-size: 12px;
line-height: 14px;
}
`;

const AmountInnerWrapperTextStack = styled.div`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const MaxButton = styled(UnstyledButton)`
@media ${QUERIESV2.sm.andDown} {
height: 24px;
padding: 0px 10px;
font-size: 12px;
}
`;

Expand All @@ -108,6 +109,9 @@ export const ButtonWrapper = styled.div`

export const StakeButton = styled(PrimaryButton)`
text-transform: capitalize;
@media ${QUERIESV2.sm.andDown} {
width: 100%;
}
`;

export const StakeButtonContentWrapper = styled.div`
Expand Down
Loading