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

Commit

Permalink
Merge pull request #500 from 18F/no-sticky-columns
Browse files Browse the repository at this point in the history
remove column stickiness
  • Loading branch information
afeld authored Jul 5, 2018
2 parents 7e56760 + 7ea6714 commit 432ffeb
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 825 deletions.
16 changes: 5 additions & 11 deletions src/components/Main/App.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { i18n } from '../../config'
import { SectionTitle, ProgressBar, Sticky, ScoreCard, Navigation, NavigationToggle } from '..'
import { SectionTitle, ProgressBar, ScoreCard, Navigation, NavigationToggle } from '..'
import { Introduction, Show } from '../Form'
import Logout from '../Navigation/Logout'
import StickyHeader from '../Sticky/StickyHeader'
Expand Down Expand Up @@ -141,20 +141,14 @@ class App extends React.Component {
<main className={klassMain}>
<div className="eapp-structure-row">
<div className={klassNavigation}>
<Sticky options={{tolerance: 400, ignoreWindowComparison: true}}>
<ScoreCard />
<Navigation />
<button onClick={this.showInstructions} className="instructions mobile-visible"><span>{i18n.t('app.instructions')}</span></button>
</Sticky>
<ScoreCard />
<Navigation />
<button onClick={this.showInstructions} className="instructions mobile-visible"><span>{i18n.t('app.instructions')}</span></button>
&nbsp;
</div>
<a href="javascript:;;;" className="eapp-section-focus" title="Main content. Please press TAB to go to the next question"></a>
<div id="main-content" className={klassCore}>
<Sticky container=".eapp-navigation .sticky > .contents"
content=".eapp-core .sticky > .contents"
options={{tolerance: 400, ignoreWindowComparison: true}}>
{this.props.children}
</Sticky>
{this.props.children}
&nbsp;
</div>
</div>
Expand Down
37 changes: 0 additions & 37 deletions src/components/Sticky/Sticky.jsx

This file was deleted.

117 changes: 0 additions & 117 deletions src/components/Sticky/Sticky.scss

This file was deleted.

28 changes: 0 additions & 28 deletions src/components/Sticky/Sticky.test.jsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/Sticky/index.js

This file was deleted.

Loading

0 comments on commit 432ffeb

Please sign in to comment.