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
12 changes: 10 additions & 2 deletions assets/scss/_styles_project.scss
Copy link
Copy Markdown
Contributor

@Bharath314 Bharath314 Jun 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that you have increased the padding of the right sidebar. Wouldn't that create more ugly whitespace though? What do you think about reducing the spacing on the left side instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, on it 🫡

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bharath314 Removed the unnecessary whitespace and improved responsiveness by using shared variable

{98A1A0E5-AA67-445A-8B6F-96591F50DB21}

Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ a:not([href]):not([class]):hover {
height: calc(100vh - 5.5rem);
top: 5.5rem;
overflow-y: auto;
padding-top: 1rem;
padding-top: 0rem;
margin-top: 0;
overflow-x: hidden;
&__inner {
Expand Down Expand Up @@ -346,14 +346,22 @@ a:not([href]):not([class]):hover {
@supports (position: sticky) {
position: sticky;
top: 5.5rem;
padding-top: 1rem;
padding-top: $sidebar-top-alignment;
height: calc(100vh - 5.5rem);
overflow-y: auto;
}

.taxo-categories {
margin-top: 2rem;
}

@media screen and (max-width: 768px) {
@supports (position: sticky) {
top: 0;
padding-top: 0;
height: auto;
}
}
}

.td-page-meta {
Expand Down
1 change: 1 addition & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ $navbar-dark-hover-color: rgba($white, 0.35) !default;
// Layout

$site-max-width: 1920px;
$sidebar-top-alignment: 1rem;

// Footer

Expand Down
Loading