-
-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature #1366 : make right sidebar independent from main content #1379
Changes from all commits
963a9d1
d7db76d
b7a71fa
5e429c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -436,13 +436,22 @@ blockquote { | |
@include respond-min(768px) { | ||
margin: 0 auto; | ||
max-width: 1400px; | ||
padding: 0 (32/768) * 100%; | ||
padding: 0 calc(32 / 768 * 100%); | ||
} | ||
|
||
&.sidebar-right { | ||
.mdzr-boxshadow & { | ||
box-shadow: -1200px 0 0 0px var(--white-color); | ||
} | ||
|
||
div[role="main"], | ||
div[role="complementary"] { | ||
max-height: 100vh; | ||
overflow-y: scroll; | ||
} | ||
& ::-webkit-scrollbar { | ||
width: 0; | ||
} | ||
Comment on lines
+452
to
+454
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did you remove the width of the scrollbar here ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @sabderemane, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should never hide the scrollbar. That’s how users can tell the area is scrollable to start with, and lots of people interact with the scrollbar to scroll. |
||
} | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This produces the same result with Sass and vanilla CSS computation so I don’t understand this change?