Skip to content

Commit 4335416

Browse files
Made the sidebar sticky
1 parent 1df75aa commit 4335416

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

assets/built/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,6 @@ Search LOGO Login Subscribe
14611461
display: grid;
14621462
grid-template-columns: repeat(16, 1fr);
14631463
column-gap: var(--grid-gap);
1464-
overflow: hidden;
14651464
}
14661465

14671466
:is(.gh-featured, .gh-cta) + .gh-container {
@@ -1527,6 +1526,7 @@ Search LOGO Login Subscribe
15271526
@media (max-width: 1199px) {
15281527
.gh-container-inner {
15291528
display: block;
1529+
overflow: hidden;
15301530
}
15311531

15321532
.gh-container.has-sidebar .gh-sidebar {
@@ -1690,6 +1690,8 @@ Search LOGO Login Subscribe
16901690
/* ---------------------------------------------------------- */
16911691

16921692
.gh-about {
1693+
position: sticky;
1694+
top: calc(var(--grid-gap) / 2);
16931695
display: flex;
16941696
flex-direction: column;
16951697
justify-content: center;

0 commit comments

Comments
 (0)