Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit a328223

Browse files
author
z
committed
revert 3212934
1 parent 3212934 commit a328223

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

pages/learn/subject.js

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ const CurriculumSection = styled.section`
2424
border-right: 1px solid #f5f5f5;
2525
min-width: 250px;
2626
}
27-
& .toc_sticky {
28-
${breakpoints.xs} {
29-
position: sticky;
30-
z-index: 3;
31-
left: 0;
32-
margin-top: 0.5rem;
33-
top: 10rem;
34-
}
35-
}
3627
& .toc_title {
3728
background-color: #374355;
3829
color: #fff;
@@ -112,10 +103,8 @@ export default class Subject extends React.Component {
112103
<Flex column={false}>
113104
{this.state.isSidebarOpen ? (
114105
<Box width={[0, 0.2]} flex={'1 1 auto'} className="box_toc">
115-
<div className="toc_sticky">
116-
<div className="toc_title">Table of content</div>
117-
<SyllabusTree data={laravelSyllabus} changeChapter={this.changeChapter} />
118-
</div>
106+
<div className="toc_title">Table of content</div>
107+
<SyllabusTree data={laravelSyllabus} changeChapter={this.changeChapter} />
119108
</Box>
120109
) : null}
121110
<Box width={[1, 0.8]} flex={'1 1 auto'} px={[1, 2]} className="box_content">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy