Skip to content
Snippets Groups Projects
Commit ed2e454f authored by Tom Robinson's avatar Tom Robinson
Browse files

Various scroll bar fixes for non-Mac platforms (a.k.a. we forgot 'overflow: auto' exists)

parent 28f35a88
Branches
Tags
No related merge requests found
......@@ -37,7 +37,7 @@ export default class MetadataSchema extends Component {
<div className="flex-half px1">Data Type</div>
<div className="flex-half px1">Additional Info</div>
</div>
<ol className="border-top border-bottom scroll-y">
<ol className="border-top border-bottom">
{fields}
</ol>
</div>
......
......@@ -110,7 +110,7 @@ export default class MetadataTable extends Component {
<div className="flex-half px1">Details</div>
</div>
</div>
<ol className="border-top border-bottom scroll-y">
<ol className="border-top border-bottom">
{fields}
</ol>
</div>
......
......@@ -9,7 +9,7 @@
min-width: 180px;
min-height: 300px;
max-height: 340px;
overflow-y: scroll;
overflow-y: auto;
flex: 1;
}
......
......@@ -26,7 +26,7 @@
outline: none;
max-height: 90%;
overflow-y: scroll;
overflow-y: auto;
}
.Modal.Modal--small {
......
.SortableItemList-list {
overflow-y: scroll;
overflow-y: auto;
}
......@@ -28,8 +28,8 @@
height: 100vh;
}
.scroll-y { overflow-y: scroll; }
.scroll-x { overflow-x: scroll; }
.scroll-y { overflow-y: auto; }
.scroll-x { overflow-x: auto; }
/* display utilities */
.block { display: block; }
......
......@@ -73,7 +73,8 @@
.Query-filters {
display: flex;
overflow-x: scroll;
overflow-x: auto;
overflow-y: hidden;
max-width: 400px;
white-space: nowrap;
height: 55px;
......@@ -121,11 +122,11 @@
.SelectionList {
padding-top: 5px;
overflow-y: auto;
max-height: 340px;
}
.SelectionItems {
overflow-y: scroll;
max-height: 340px;
max-width: 320px;
}
......
......@@ -180,8 +180,7 @@ export default class SelectionModule extends Component {
renderPopover(selection) {
if(this.state.open) {
var itemListClasses = cx({
'SelectionItems': true,
var itemListClasses = cx("SelectionItems", {
'SelectionItems--open': this.state.open,
'SelectionItems--expanded': this.state.expanded
});
......@@ -198,7 +197,7 @@ export default class SelectionModule extends Component {
>
<div className={itemListClasses}>
{searchBar}
<ul className="SelectionList">
<ul className="SelectionList scroll-show scroll-y">
{this._listItems(selection)}
</ul>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment