Made the sidebar sticky

This commit is contained in:
Sodbileg Gansukh 2023-08-22 18:17:15 +08:00
parent 1df75aa4dd
commit 4335416f75
3 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1461,7 +1461,6 @@ Search LOGO Login Subscribe
display: grid;
grid-template-columns: repeat(16, 1fr);
column-gap: var(--grid-gap);
overflow: hidden;
}
:is(.gh-featured, .gh-cta) + .gh-container {
@ -1527,6 +1526,7 @@ Search LOGO Login Subscribe
@media (max-width: 1199px) {
.gh-container-inner {
display: block;
overflow: hidden;
}
.gh-container.has-sidebar .gh-sidebar {
@ -1690,6 +1690,8 @@ Search LOGO Login Subscribe
/* ---------------------------------------------------------- */
.gh-about {
position: sticky;
top: calc(var(--grid-gap) / 2);
display: flex;
flex-direction: column;
justify-content: center;