diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.js.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.js.snap index 4436d9a5df..8bf2132baf 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.js.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.js.snap @@ -225,20 +225,20 @@ exports[` should render 1`] = ` } .c20 { - margin: 0 auto 1rem; margin-bottom: 4rem; + margin-left: auto; text-align: center; } .c25 { - margin: 0 auto 1rem; + margin-bottom: 1.6rem; margin-left: -4rem; text-align: left; } .c34 { - margin: 0 auto 1rem; margin-bottom: 1.6rem; + margin-left: auto; text-align: center; } @@ -742,11 +742,13 @@ exports[` should render 1`] = ` @media (max-width:600px) { .c20 { margin-bottom: 2.4rem; + margin-left: auto; } } @media (max-width:600px) { .c25 { + margin-bottom: 1rem; margin-left: -1rem; } } @@ -754,6 +756,7 @@ exports[` should render 1`] = ` @media (max-width:600px) { .c34 { margin-bottom: 1rem; + margin-left: auto; } } @@ -765,7 +768,7 @@ exports[` should render 1`] = ` @media (max-width:600px) { .c21 { - font-size: 2.8rem; + font-size: 2.6rem; } } diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/code-du-travail.test.js.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/code-du-travail.test.js.snap index f5e2784f3b..457e19d240 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/code-du-travail.test.js.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/code-du-travail.test.js.snap @@ -74,7 +74,7 @@ exports[` should render 1`] = ` padding: 1rem 2rem; color: #3e486e; background-color: #f2f5fa; - border: 1px solid transparent; + border: 1px solid #f2f5fa; border-radius: 0.6rem; } @@ -270,8 +270,8 @@ exports[` should render 1`] = ` } .c35 { - margin: 0 auto 1rem; margin-bottom: 1.6rem; + margin-left: auto; text-align: center; } @@ -850,6 +850,7 @@ exports[` should render 1`] = ` @media (max-width:600px) { .c35 { margin-bottom: 1rem; + margin-left: auto; } } diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/contribution.test.js.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/contribution.test.js.snap index ed930e65a9..3cf376f9c9 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/contribution.test.js.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/contribution.test.js.snap @@ -15,7 +15,7 @@ exports[` should render with external content 1`] = ` margin-bottom: 0; } -.c27 { +.c28 { padding: 3.2rem 0; background-color: transparent; color: #3e486e; @@ -51,7 +51,7 @@ exports[` should render with external content 1`] = ` margin-bottom: 0; } -.c24 { +.c25 { position: absolute; background-color: #7994d4; border-radius: 0.6rem; @@ -64,7 +64,7 @@ exports[` should render with external content 1`] = ` transform: translateY(-50%); } -.c31 { +.c32 { position: absolute; background-color: #f66663; border-radius: none; @@ -77,7 +77,7 @@ exports[` should render with external content 1`] = ` transform: translateY(-50%); } -.c41 { +.c42 { position: absolute; background-color: #7994d4; border-radius: 0.6rem; @@ -90,7 +90,7 @@ exports[` should render with external content 1`] = ` transform: translateX(-50%); } -.c29 { +.c30 { position: relative; margin: 0 0 1rem 0; color: #2f3b6c; @@ -102,7 +102,7 @@ exports[` should render with external content 1`] = ` padding-left: 2.4rem; } -.c49 { +.c50 { position: relative; margin: 0 0 1rem 0; color: #2f3b6c; @@ -173,7 +173,7 @@ exports[` should render with external content 1`] = ` cursor: not-allowed; } -.c33 { +.c34 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -210,16 +210,16 @@ exports[` should render with external content 1`] = ` opacity: 1; } -.c33:link, -.c33:visited { +.c34:link, +.c34:visited { -webkit-text-decoration: none; text-decoration: none; color: #3e486e; } -.c33:not([disabled]):hover, -.c33:not([disabled]):active, -.c33:not([disabled]):focus { +.c34:not([disabled]):hover, +.c34:not([disabled]):active, +.c34:not([disabled]):focus { opacity: 1; -webkit-transform: translateY(-2px); -ms-transform: translateY(-2px); @@ -228,13 +228,13 @@ exports[` should render with external content 1`] = ` border-color: #dee5ef; } -.c33[disabled] { +.c34[disabled] { color: rgba(62,72,110,0.4); box-shadow: none; cursor: not-allowed; } -.c43 { +.c44 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -271,16 +271,16 @@ exports[` should render with external content 1`] = ` opacity: 1; } -.c43:link, -.c43:visited { +.c44:link, +.c44:visited { -webkit-text-decoration: none; text-decoration: none; color: #fff; } -.c43:not([disabled]):hover, -.c43:not([disabled]):active, -.c43:not([disabled]):focus { +.c44:not([disabled]):hover, +.c44:not([disabled]):active, +.c44:not([disabled]):focus { opacity: 1; -webkit-transform: translateY(-2px); -ms-transform: translateY(-2px); @@ -289,25 +289,25 @@ exports[` should render with external content 1`] = ` border-color: #a0b3e0; } -.c43[disabled] { +.c44[disabled] { color: rgba(255,255,255,0.4); box-shadow: none; cursor: not-allowed; } .c22 { - margin: 0 auto 1rem; + margin-bottom: 4rem; margin-left: -4rem; text-align: left; } -.c39 { - margin: 0 auto 1rem; +.c40 { margin-bottom: 1.6rem; + margin-left: auto; text-align: center; } -.c23 { +.c24 { position: relative; margin: 0; color: #2f3b6c; @@ -318,7 +318,7 @@ exports[` should render with external content 1`] = ` padding-left: 4rem; } -.c40 { +.c41 { position: relative; margin: 0; color: #2f3b6c; @@ -330,7 +330,7 @@ exports[` should render with external content 1`] = ` text-align: center; } -.c25 { +.c26 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -338,11 +338,15 @@ exports[` should render with external content 1`] = ` font-size: 1.4rem; } -.c26 { +.c23 { + margin-bottom: 0; +} + +.c27 { margin: 3.2rem 0 0 0; } -.c28 { +.c29 { padding: 2rem 2.4rem; color: #3e486e; border-radius: 0.6rem; @@ -365,15 +369,15 @@ exports[` should render with external content 1`] = ` justify-content: stretch; } -.c28 > *:first-child { +.c29 > *:first-child { margin-top: 0; } -.c28 > *:last-child { +.c29 > *:last-child { margin-bottom: 0; } -.c30 { +.c31 { -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; @@ -382,7 +386,7 @@ exports[` should render with external content 1`] = ` padding-bottom: 1rem; } -.c32 { +.c33 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -397,7 +401,7 @@ exports[` should render with external content 1`] = ` margin: 0; } -.c35 + .c34 { +.c36 + .c35 { margin-left: 4rem; } @@ -662,12 +666,12 @@ exports[` should render with external content 1`] = ` margin-left: 1.6rem; } -.c36 { +.c37 { width: 100%; overflow-x: hidden; } -.c37 { +.c38 { position: relative; z-index: 1; margin-top: 4rem; @@ -675,7 +679,7 @@ exports[` should render with external content 1`] = ` background-color: #f2f5fa; } -.c37:before { +.c38:before { position: absolute; top: -27px; left: -50%; @@ -687,13 +691,13 @@ exports[` should render with external content 1`] = ` content: ""; } -.c38 { +.c39 { position: relative; padding-bottom: 4rem; text-align: center; } -.c42 { +.c43 { max-width: 124rem; margin: 0 auto; padding: 0 2rem; @@ -702,25 +706,25 @@ exports[` should render with external content 1`] = ` margin-bottom: 2rem; } -.c42 > *:first-child { +.c43 > *:first-child { margin-top: 0; } -.c42 > *:last-child { +.c43 > *:last-child { margin-bottom: 0; } -.c44 { +.c45 { width: 1.5em; margin-left: 1.6rem; } -.c45 { +.c46 { padding: 4rem 0; background-color: #e4e8ef; } -.c46 { +.c47 { max-width: 124rem; margin: 0 auto; padding: 0 2rem; @@ -734,39 +738,39 @@ exports[` should render with external content 1`] = ` justify-content: space-between; } -.c46 > *:first-child { +.c47 > *:first-child { margin-top: 0; } -.c46 > *:last-child { +.c47 > *:last-child { margin-bottom: 0; } -.c48 + .c47 { +.c49 + .c48 { padding-left: 1.6rem; } -.c51 { +.c52 { margin: 0; padding: 0; list-style-type: none; } -.c50 { +.c51 { font-size: 1.6rem; } -.c52 { +.c53 { margin: 0.4rem 0; } -.c53 { +.c54 { font-weight: normal; -webkit-text-decoration: none; text-decoration: none; } -.c54 { +.c55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -785,14 +789,14 @@ exports[` should render with external content 1`] = ` background-color: #e4e8ef; } -.c55 { +.c56 { font-weight: normal; -webkit-text-decoration: none; text-decoration: none; margin: 0 1rem 1rem 1rem; } -.c56 { +.c57 { margin-bottom: 1rem; -webkit-user-select: none; -moz-user-select: none; @@ -850,20 +854,20 @@ exports[` should render with external content 1`] = ` } @media (max-width:600px) { - .c29 { + .c30 { margin-left: -1rem; padding-left: 1.6rem; } } @media (max-width:600px) { - .c29 { + .c30 { font-size: 1.6rem; } } @media (max-width:600px) { - .c49 { + .c50 { font-size: 1.6rem; } } @@ -875,61 +879,63 @@ exports[` should render with external content 1`] = ` } @media (max-width:600px) { - .c33 { + .c34 { font-size: 1.4rem; } } @media (max-width:600px) { - .c33 { + .c34 { padding: 0 3rem; } } @media (max-width:600px) { - .c43 { + .c44 { font-size: 1.4rem; } } @media (max-width:600px) { - .c43 { + .c44 { padding: 0 3rem; } } @media (max-width:600px) { .c22 { + margin-bottom: 2.4rem; margin-left: -1rem; } } @media (max-width:600px) { - .c39 { + .c40 { margin-bottom: 1rem; + margin-left: auto; } } @media (max-width:600px) { - .c23 { + .c24 { padding-left: 1.6rem; } } @media (max-width:600px) { - .c23 { - font-size: 2.8rem; + .c24 { + font-size: 2.6rem; } } @media (max-width:600px) { - .c40 { + .c41 { font-size: 2.2rem; } } @media (max-width:600px) { - .c25 { + .c26 { -webkit-flex-flow: column; -ms-flex-flow: column; flex-flow: column; @@ -941,26 +947,26 @@ exports[` should render with external content 1`] = ` } @media (max-width:600px) { - .c26 { + .c27 { margin-top: 1.6rem; } } @media (max-width:600px) { - .c28 { + .c29 { padding: 1.6rem 1rem; } } @media print { - .c28 { + .c29 { padding: 0 5pt; border: none; } } @media (max-width:1180px) { - .c28 { + .c29 { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; @@ -975,20 +981,20 @@ exports[` should render with external content 1`] = ` } @media (max-width:1180px) { - .c30 { + .c31 { margin-bottom: 1.6rem; } } @media (max-width:600px) { - .c30 { + .c31 { padding-top: 0; padding-bottom: 0; } } @media (max-width:1180px) { - .c32 { + .c33 { -webkit-box-pack: space-around; -webkit-justify-content: space-around; -ms-flex-pack: space-around; @@ -997,7 +1003,7 @@ exports[` should render with external content 1`] = ` } @media (max-width:1180px) { - .c35 + .c34 { + .c36 + .c35 { margin-left: 0; } } @@ -1153,39 +1159,39 @@ exports[` should render with external content 1`] = ` } @media print { - .c37 { + .c38 { display: none; } } @media (max-width:600px) { - .c42 { + .c43 { padding: 0; } } @media print { - .c42 { + .c43 { max-width: 100%; padding: 0; } } @media (max-width:600px) { - .c46 { + .c47 { padding: 0 1rem; } } @media print { - .c46 { + .c47 { max-width: 100%; padding: 0; } } @media (max-width:600px) { - .c46 { + .c47 { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; @@ -1193,26 +1199,26 @@ exports[` should render with external content 1`] = ` } @media (max-width:600px) { - .c48 + .c47 { + .c49 + .c48 { padding-left: 0; } } @media (max-width:600px) { - .c51 { + .c52 { text-align: center; } } @media (max-width:600px) { - .c50 { + .c51 { margin-top: 1rem; text-align: center; } } @media (max-width:980px) { - .c56 { + .c57 { display: none; } } @@ -1428,22 +1434,22 @@ exports[` should render with external content 1`] = ` data-main-content="true" >

Quelles sont les conséquences du décès de l’employeur sur le contrat de travail ?

should render with external content 1`] = `

Avez-vous trouvé la réponse à votre question ?

@@ -1490,40 +1496,40 @@ exports[` should render with external content 1`] = `