Skip to content

Commit

Permalink
Remove independent scroll from events sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
sg00dwin committed Sep 7, 2017
1 parent eb411d5 commit 85b1ae6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
16 changes: 8 additions & 8 deletions app/styles/_sidebar-right.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.right-section {
height: 100%;
position: fixed;
// position: fixed;
.right-container {
align-items: flex-start;
bottom: 0;
Expand All @@ -14,8 +14,8 @@
justify-content: flex-start;
height: 100%;
left: 0;
overflow: hidden;
position: absolute;
// overflow: hidden;
// position: absolute;
right: 0;
top: 0;
.right-content {
Expand Down Expand Up @@ -156,11 +156,11 @@
}
}
.right-content {
.events {
// Because .right-section is position:fixed, we need to account for the top nav and project bar combined height,
// so offset that amount by adding padding-bottom, which makes the entire scrollable area visible.
padding-bottom: (@navbar-os-header-height-mobile + @project-bar-height-mobile + @tech-preview-banner-height);
}
// .events {
// // Because .right-section is position:fixed, we need to account for the top nav and project bar combined height,
// // so offset that amount by adding padding-bottom, which makes the entire scrollable area visible.
// padding-bottom: (@navbar-os-header-height-mobile + @project-bar-height-mobile + @tech-preview-banner-height);
// }
.event {
display: flex;
align-items: center;
Expand Down
5 changes: 2 additions & 3 deletions dist/styles/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85b1ae6

Please sign in to comment.