Skip to content

Commit

Permalink
add max-width on buttons for larger screens
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMakka committed Jan 30, 2025
1 parent eba6934 commit 8c777dc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/components/views/Buy/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const card = css`

export const cardMessage = css`
gap: 1rem;
width: 100%;
display: flex;
flex-direction: column;
padding: 2rem;
Expand Down Expand Up @@ -63,6 +64,12 @@ export const cardMessage = css`
text-decoration: underline;
}
${breakpoints.desktop} {
& .description {
max-width: 80rem;
}
}
${breakpoints.desktopLarge} {
margin-top: 2.4rem;
}
Expand Down Expand Up @@ -95,6 +102,13 @@ export const buttons = css`
}
}
${breakpoints.desktop} {
justify-content: flex-start;
a {
max-width: 50rem;
}
}
${breakpoints.desktopLarge} {
gap: 2rem;
flex-direction: row;
Expand Down

0 comments on commit 8c777dc

Please sign in to comment.