From 47fa8d59d569562937ff575f3a26e2efca88e2d6 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 26 Aug 2020 18:04:02 +0200 Subject: [PATCH] =?UTF-8?q?Enl=C3=A8ve=20actualit=C3=A9=20covid=20et=20ch?= =?UTF-8?q?=C3=B4mage=20partiel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/components/conversation/Question.tsx | 8 +++++++- mon-entreprise/source/components/ui/Toggle.css | 2 +- .../sites/mon-entreprise.fr/pages/Landing/Landing.tsx | 11 ----------- .../pages/Simulateurs/AutoEntrepreneur.tsx | 6 ++++-- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/mon-entreprise/source/components/conversation/Question.tsx b/mon-entreprise/source/components/conversation/Question.tsx index 619691489..84bcacaf0 100644 --- a/mon-entreprise/source/components/conversation/Question.tsx +++ b/mon-entreprise/source/components/conversation/Question.tsx @@ -52,6 +52,12 @@ export default function Question({ :not(:first-child) { margin-left: 0.6rem; } + input { + width: 0; + opacity: 0; + height: 0; + position: absolute; + } `} > onSubmit('dblClick')} style={labelStyle} className={classnames('userAnswerButton ui__ button', { selected @@ -173,7 +180,6 @@ function RadioLabelContent({ onSubmit('dblClick')} value={value} onChange={evt => onChange(evt.target.value)} checked={selected} diff --git a/mon-entreprise/source/components/ui/Toggle.css b/mon-entreprise/source/components/ui/Toggle.css index 48ae5e1a5..202dbde74 100644 --- a/mon-entreprise/source/components/ui/Toggle.css +++ b/mon-entreprise/source/components/ui/Toggle.css @@ -56,7 +56,7 @@ } .ui__.radio input[type='radio']:focus ~ *::before { - box-shadow: 0 0 0px 2px var(--color), 0 0 5px 2px white; + box-shadow: 0 0 0px 2px var(--color), 0 0 5px 3px var(--lightColor); } .ui__.radio input[type='radio'] { diff --git a/mon-entreprise/source/sites/mon-entreprise.fr/pages/Landing/Landing.tsx b/mon-entreprise/source/sites/mon-entreprise.fr/pages/Landing/Landing.tsx index 7f20767f0..a9ca128f4 100644 --- a/mon-entreprise/source/sites/mon-entreprise.fr/pages/Landing/Landing.tsx +++ b/mon-entreprise/source/sites/mon-entreprise.fr/pages/Landing/Landing.tsx @@ -40,17 +40,6 @@ export default function Landing() {
-
- - {emoji('😷')}{' '} - - Covid-19 : Calculer l'impact du chômage partiel - - -

-

Ressources utiles

-
+

+ Ressources utiles +

+