Skip to content

Commit

Permalink
Changed behavior of query panel scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap committed Feb 24, 2017
1 parent 9db1d13 commit e2082dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/client/components/data/query/QueryBuilder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const QueryBuilder = React.createClass({
sortOptions={this.props.sortOptions}
hits={this.props.hits}
/>
<div className="querypanel">
<div className="querypanel" style={{maxHeight: window.innerHeight - 170}}>
<GroupField
attributes={this.props.attributes}
groupLevels={this.props.groupLevels}
Expand Down
3 changes: 1 addition & 2 deletions web/client/components/data/query/queryform.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@
/*border-bottom: 2px dotted #dedede;*/
overflow: hidden;
background-color: #ffffff;
margin-bottom: 20px;
}

#query-form-panel #query-toolbar-title {
Expand Down Expand Up @@ -272,10 +271,10 @@
}

.querypanel {
max-height: 660px;
overflow-x: hidden;
overflow-y: auto;
border: none;
padding-bottom: 150px;
}

/*****************************/
Expand Down

0 comments on commit e2082dd

Please sign in to comment.