🐛 fix IE

pull/367/head
Johan Girod 2018-09-19 19:18:28 +02:00
parent 8344e2da2c
commit 3cdd104d2c
2 changed files with 6 additions and 5 deletions

View File

@ -5,9 +5,7 @@ body,
}
.app-container {
display: flex;
position: relative;
flex: 1;
overflow: hidden;
width: 100%;
height: 100vh;
@ -16,17 +14,18 @@ body,
height: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
overflow: auto;
}
@media (min-width: 500px) {
.app-content {
height: auto;
height: 100vh;
/* height: auto; */
flex: 1;
}
.app-container {
overflow: auto;
min-height: 100vh;
height: auto;
}
}

View File

@ -37,7 +37,9 @@ class InFranceRoute extends Component {
<Navigation location={location} />
<div className="app-content">
<ProgressHeader />
<div className="ui__ container" style={{ flex: 1 }}>
<div
className="ui__ container"
style={{ flexGrow: 1, flexShrink: 0 }}>
<Route path="/company" component={CompanyIndex} />
<Route path="/social-security" component={SocialSecurity} />
<Route path="/hiring-process" component={HiringProcess} />