File tree Expand file tree Collapse file tree
components/handbook-navigation
sections/Community/Handbook/handbook-single Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,28 +3,33 @@ import { Link } from "gatsby";
33import styled from "styled-components" ;
44
55const JoinCommunityWrapper = styled . div `
6- @media screen and (min-width: 300px) and (max-width: 1279px) {
6+ position: fixed;
7+ right: 2rem;
8+ top: 15rem;
9+ width: 15rem;
10+ z-index: 10;
11+
12+ @media screen and (max-width: 1279px) {
713 display: none;
814 }
15+
916 .intra-page {
1017 position: sticky;
1118 top: 10rem;
12- right: 0rem;
13- margin-right: 1rem;
1419 padding-bottom: 5rem;
15- padding-right: 2rem;
1620 align-items: left;
1721 justify-content: space-around;
1822 display: flex;
1923 flex-direction: column;
2024 overflow: hidden;
2125
2226 .list {
23- color: #000000;
27+ color: ${ ( props ) => props . theme . text || "#000000" } ;
28+ transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
2429 }
2530 .active {
26- font-weight: 5000 ;
27- color: #000000 ;
31+ font-weight: 500 ;
32+ color: ${ ( props ) => props . theme . secondaryColor || "#00b39f" } ;
2833 }
2934
3035 ul {
@@ -39,7 +44,7 @@ const JoinCommunityWrapper = styled.div`
3944 padding-right: 0rem;
4045 margin-right: 0rem;
4146 }
42- @media only screen and (max-width: 950px ) {
47+ @media only screen and (max-width: 1279px ) {
4348 width: 0;
4449 opacity: 0;
4550 height: 0;
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ const HandbookSingle = ({ data, children }) => {
3030 < h1 > { mdx . frontmatter . title } </ h1 >
3131 </ div >
3232 < HandbookTOC pages = { allHandbookPages . nodes } currentSlug = { currentSlug } />
33+ { intraPageComponent }
3334 < div className = "page-section" >
3435 < Container >
3536 < div className = "content" >
@@ -40,7 +41,6 @@ const HandbookSingle = ({ data, children }) => {
4041 currentSlug = { currentSlug }
4142 />
4243 </ Container >
43- { intraPageComponent }
4444 </ div >
4545 </ HandbookWrapper >
4646 ) ;
You can’t perform that action at this time.
0 commit comments