From fd94bfa0329a0224d80881e7a5e5e41c27b8f5ed Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 8 Aug 2018 18:42:47 +0200 Subject: [PATCH] =?UTF-8?q?r=C3=A9pare=20le=20scroll=20sur=20ie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/ui/index.css | 2 +- source/sites/mycompanyinfrance.fr/pages/Company/Home.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/components/ui/index.css b/source/components/ui/index.css index 274c42b9f..e0255607e 100644 --- a/source/components/ui/index.css +++ b/source/components/ui/index.css @@ -7,7 +7,7 @@ } body { - overflow-x: hidden; + overflow-x: hidden !important; } button { diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/Home.js b/source/sites/mycompanyinfrance.fr/pages/Company/Home.js index 727000561..de18453d7 100644 --- a/source/sites/mycompanyinfrance.fr/pages/Company/Home.js +++ b/source/sites/mycompanyinfrance.fr/pages/Company/Home.js @@ -4,6 +4,7 @@ import React from 'react' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { nextQuestionUrlSelector } from 'Selectors/companyStatusSelectors' +import { isIE } from '../../../../utils' import type { Match, RouterHistory } from 'react-router' type Props = { @@ -33,7 +34,8 @@ const CreateMyCompany = ({ match, nextQuestionUrl, history }: Props) => ( )} - {!match.isExact && } + {!isIE() && + !match.isExact && } )