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 authored and f0x11 committed Mar 26, 2018
1 parent 6a3b97e commit de44f57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 0 additions & 8 deletions app/styles/_sidebar-right.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

.right-section {
height: 100%;
position: fixed;
.right-container {
align-items: flex-start;
bottom: 0;
Expand All @@ -14,8 +13,6 @@
justify-content: flex-start;
height: 100%;
left: 0;
overflow: hidden;
position: absolute;
right: 0;
top: 0;
.right-content {
Expand Down Expand Up @@ -156,11 +153,6 @@
}
}
.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);
}
.event {
display: flex;
align-items: center;
Expand Down
6 changes: 5 additions & 1 deletion 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 de44f57

Please sign in to comment.