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: 3 additions & 7 deletions src/components/SistentNavigation/intra-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import styled from "styled-components";

const JoinCommunityWrapper = styled.div`
width: 18rem;
margin-top: -5rem;

@media screen and (max-width: 750px) {
display: none;
Expand All @@ -13,12 +14,8 @@ const JoinCommunityWrapper = styled.div`
display: none;
}
.intra-page {
position: sticky;
top: 17rem;
right: 0rem;
margin-right: 1rem;
margin-top: 17rem;
padding-bottom: 5rem;
padding-bottom: 3rem;
padding-right: 2rem;
align-items: left;
justify-content: space-around;
Expand All @@ -36,7 +33,6 @@ const JoinCommunityWrapper = styled.div`

ul {
list-style: none;
top: 3rem;
li {
padding-bottom: 0.5rem;
padding-top: 0.5rem;
Expand Down Expand Up @@ -72,7 +68,7 @@ function IntraPage() {
id: a.id,
link: `#${a.id}`,
text: a.id,
}))
})),
);
}
}, []);
Expand Down
2 changes: 1 addition & 1 deletion src/components/SistentNavigation/pagination.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const TocPaginationWrapper = styled.div`
display: flex;
gap: 1rem;
justify-content: center;
margin: 3rem 2rem 4rem 2rem;
margin: 3rem 2rem 2rem 2rem;

@media screen and (max-width: 540px) {
margin: 0 0 2rem 0;
Expand Down
6 changes: 1 addition & 5 deletions src/components/handbook-navigation/intra-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ const JoinCommunityWrapper = styled.div`
display: none;
}
.intra-page {
position: sticky;
top: 10rem;
right: 0rem;
margin-right: 1rem;
padding-bottom: 5rem;
padding-bottom: 3rem;
padding-right: 2rem;
align-items: left;
justify-content: space-around;
Expand All @@ -19,7 +16,6 @@ const JoinCommunityWrapper = styled.div`
overflow: hidden;
ul {
list-style: none;
top: 3rem;
li {
padding-bottom: 0.5rem;
padding-top: 0.5rem;
Expand Down
6 changes: 1 addition & 5 deletions src/components/legal-navigation/intra-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ const JoinCommunityWrapper = styled.div`
display: none;
}
.intra-page {
position: sticky;
top: 10rem;
right: 0rem;
margin-right: 1rem;
padding-bottom: 5rem;
padding-bottom: 3rem;
padding-right: 2rem;
align-items: left;
justify-content: space-around;
Expand All @@ -29,7 +26,6 @@ const JoinCommunityWrapper = styled.div`

ul {
list-style: none;
top: 3rem;
li {
padding-bottom: 0.5rem;
padding-top: 0.5rem;
Expand Down
15 changes: 12 additions & 3 deletions src/sections/Projects/Sistent/sistent.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,20 @@ const SistentWrapper = styled.div`
}
.page-container {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 2rem;
justify-content: start;
gap: 3rem;
max-width: 1600px;
margin: 0 auto;
padding: 0 2rem;
box-sizing: border-box;

.page-section > div:first-child {
max-width: none;
}

@media screen and (max-width: 750px) {
display: block;
padding: 0;
}
}

Expand Down