Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
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
10 changes: 8 additions & 2 deletions apps/web/src/screens/HomePage/sections/SIGs/SIGDetailPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undo

padding: 35px 25px 35px 45px;
}
`;
Expand Down Expand Up @@ -61,7 +61,7 @@ const SIGDiscord = styled.a`
background: #42c0fc;
border: none;
border-radius: 30px;
margin-left: 20px;
//margin-left: 20px;
Copy link
Contributor

Choose a reason for hiding this comment

The 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;
Expand Down Expand Up @@ -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`
Expand Down
8 changes: 6 additions & 2 deletions apps/web/src/screens/HomePage/sections/SIGs/SIGList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apply the min-width at 810px

max-width: 200px;
font-size: 11px;
Copy link
Contributor

Choose a reason for hiding this comment

The 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;
Expand All @@ -36,6 +37,9 @@ const Item: any = styled.li`
h3 {
margin: 0;
}
@media screen and (min-width: 400px) {
font-size: 16px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the original font-size

Suggested change
font-size: 16px;
font-size: 1.17rem;

}
`;

const Logo: any = styled.img`
Expand Down