Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
Force vertical scrollbar in workspace.
Browse files Browse the repository at this point in the history
This is related to #216.
  • Loading branch information
Zodiase committed Jul 18, 2018
1 parent d39e570 commit 3bba9ad
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 46 deletions.
10 changes: 8 additions & 2 deletions meteor-app/imports/ui/pages/dynamic-workspace/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@

.two-column-layout() {
.flex-row;
width: 100%;
height: 100%;

& > .left {
width: 50%;
max-width: 600px;

overflow-x: hidden;
overflow-y: scroll;
}
& > .right {
.layout-fill;

overflow-x: hidden;
overflow-y: scroll;
}

& > .full {
Expand All @@ -30,8 +38,6 @@
}
.markdown-container() {
padding: 15px;
overflow-x: hidden;
overflow-y: auto;
}

& > .suite-wrapper {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.dataset__analytics-tab {
.two-column-layout;

width: 100%;
height: 100%;
.two-column-layout();

& > .analytics__controls {
.two-column-layout > .left;
Expand All @@ -17,14 +14,4 @@
grid-area: toolbar;
z-index: 1;
}

.analytics__controls {
overflow-x: hidden;
overflow-y: auto;
}

.analytics__charts {
overflow-x: hidden;
overflow-y: auto;
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.dataset__download-tab {
.two-column-layout;

width: 100%;
height: 100%;
.two-column-layout();

& > .download__controls {
.two-column-layout > .left;
Expand All @@ -11,11 +8,6 @@
& > .download__markdown {
.two-column-layout > .right;
.two-column-layout > .bottom-layer;
.markdown-container;
}

.download__controls {
overflow-x: hidden;
overflow-y: auto;
.markdown-container();
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
.dataset__info-tab {
.two-column-layout();

width: 100%;
height: 100%;

& > .info__markdown {
.two-column-layout > .left;
.two-column-layout > .top-layer;
.markdown-container;
.markdown-container();
}
& > .info__map {
.two-column-layout > .right;
.two-column-layout > .bottom-layer;

overflow: hidden;
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.dataset__metadata-tab {
.two-column-layout;

width: 100%;
height: 100%;
.two-column-layout();

& > .metadata__markdown {
.two-column-layout > .full;
.markdown-container;
.markdown-container();
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.dataset__model-tab {
.two-column-layout;

width: 100%;
height: 100%;
.two-column-layout();

& > .model__markdown {
.two-column-layout > .full;
.markdown-container;
.markdown-container();
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.dataset__overlay-tab {
.two-column-layout;

width: 100%;
height: 100%;
.two-column-layout();

& > .overlay__controls {
.two-column-layout > .left;
Expand All @@ -15,8 +12,6 @@

.overlay__controls {
.flex-col;
overflow-x: hidden;
overflow-y: auto;

.map-and-toolbar {
padding: 10px;
Expand All @@ -25,9 +20,11 @@

.overlay__map {
.flex-col;
overflow-y: auto;

& > .mapview {
.layout-fill;
min-height: 300px;
}
}
}

0 comments on commit 3bba9ad

Please sign in to comment.