-
Notifications
You must be signed in to change notification settings - Fork 0
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
Discord button flex display and gap fixed #349
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ const PaneWrapper: any = styled.div` | |
@media only screen and (min-width: 810px) { | ||
border-top: none; | ||
border-left: 2px solid #ddd; | ||
margin-left: 35px; | ||
: 35px; | ||
padding: 35px 25px 35px 45px; | ||
} | ||
`; | ||
|
@@ -61,7 +61,7 @@ const SIGDiscord = styled.a` | |
background: #42c0fc; | ||
border: none; | ||
border-radius: 30px; | ||
margin-left: 20px; | ||
//margin-left: 20px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove comments |
||
color: #fff; | ||
font-size: 17px; | ||
font-family: "Nunito Sans", sans-serif; | ||
|
@@ -99,6 +99,12 @@ const SIGEmail: any = styled.a` | |
|
||
const ButtonRow: any = styled.div` | ||
display: flex; | ||
flex-direction: column-reverse; | ||
gap: 1rem; | ||
|
||
@media screen and (min-width: 400px) { | ||
flex-direction: row; | ||
} | ||
`; | ||
|
||
const Row: any = styled.div` | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -12,16 +12,17 @@ const SIGListWrapper: any = styled.ul` | |||||
flex-wrap: wrap; | ||||||
align-content: flex-start; | ||||||
flex: 1; | ||||||
min-width: 340px; | ||||||
//min-width: 340px; | ||||||
`; | ||||||
|
||||||
const Item: any = styled.li` | ||||||
border-radius: 6px; | ||||||
transition: ease-in-out 0.1s all; | ||||||
cursor: pointer; | ||||||
height: 50px; | ||||||
min-width: 155px; | ||||||
//min-width: 155px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. apply the min-width at 810px |
||||||
max-width: 200px; | ||||||
font-size: 11px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. font-size shouldn't be smaller than 12px. You can shrink the "SIGLogo" instead to achieve a smaller button. |
||||||
width: calc(50% - 15px); | ||||||
display: flex; | ||||||
align-items: center; | ||||||
|
@@ -36,6 +37,9 @@ const Item: any = styled.li` | |||||
h3 { | ||||||
margin: 0; | ||||||
} | ||||||
@media screen and (min-width: 400px) { | ||||||
font-size: 16px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was the original font-size
Suggested change
|
||||||
} | ||||||
`; | ||||||
|
||||||
const Logo: any = styled.img` | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo