Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

Commit

Permalink
Added temporary fixed frame
Browse files Browse the repository at this point in the history
  • Loading branch information
joecritch committed Aug 26, 2014
1 parent c033336 commit a6b8de8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/js/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var App = React.createClass({

return (
<div className="App">
<div className="App-header c-contrast">
<div className="App-header c-contrast" style={{position: 'fixed', top: 0, zIndex: 1}}>
<MainHeader
search={<Search searchValue={this.state.searchValue} />}
selectionCount={selectionCount}
Expand All @@ -80,7 +80,7 @@ var App = React.createClass({
activeRouteName={activeRoute.props.name}
/>
</div>
<div className="App-main">
<div className="App-main" style={{marginTop: 120, position: 'relative', zIndex: 0}}>
<div className="Container">

<ReactCSSTransitionGroup transitionName="pageswitch" component={React.DOM.div}>
Expand Down
6 changes: 3 additions & 3 deletions src/js/components/DetectsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var DetectsPage = React.createClass({
<div className="Grid Grid--withGutter">
<div className="Grid-cell u-size7of10">
<div className="Grid Grid--withGutter">
<div className="Grid-cell u-size4of14">
<div className="Grid-cell u-size4of14" style={{width: '19.4% !important', position: 'fixed'}}>
<div className="BoxSet">
{this.props.selectionOnly &&
<div className="BoxSet-item">
Expand Down Expand Up @@ -49,14 +49,14 @@ var DetectsPage = React.createClass({
</div>
</div>
</div>
<div className="Grid-cell u-size10of14" style={{minHeight: 1}}>
<div className="Grid-cell u-size10of14" style={{left: '29%', position: 'relative', minHeight: 1}}>
{this.props.results ?
<ResultList currentResult={this.props.currentResult} results={this.props.results} selection={this.props.selection} currentIndex={this.props.currentIndex} />
: null}
</div>
</div>
</div>
<div className="Grid-cell u-size3of10">
<div className="Grid-cell u-size3of10" style={{position: 'fixed'}}>
{this.props.currentResult ?
<Detail detect={this.props.currentResult} />
: null}
Expand Down

0 comments on commit a6b8de8

Please sign in to comment.