From f6ee965802383e2aa02ea132fad074ed5417d8b4 Mon Sep 17 00:00:00 2001 From: Yann Bertrand <5855339+yannbertrand@users.noreply.github.com> Date: Fri, 3 May 2024 15:54:30 +0200 Subject: [PATCH] fix(mon-pix): legend tag should be direct child of fieldset --- .../pods/components/module/qcm/styles.scss | 28 +++++++------------ .../pods/components/module/qcm/template.hbs | 20 +++++++------ .../pods/components/module/qcu/styles.scss | 28 +++++++------------ .../pods/components/module/qcu/template.hbs | 20 +++++++------ .../pods/components/module/qrocm/styles.scss | 28 +++++++------------ .../pods/components/module/qrocm/template.hbs | 25 +++++++++++------ .../integration/components/module/qcm_test.js | 12 +++++--- .../integration/components/module/qcu_test.js | 12 +++++--- .../components/module/qrocm_test.js | 24 ++++++++-------- 9 files changed, 98 insertions(+), 99 deletions(-) diff --git a/mon-pix/app/pods/components/module/qcm/styles.scss b/mon-pix/app/pods/components/module/qcm/styles.scss index 83157483cda..a9b7dcb1326 100644 --- a/mon-pix/app/pods/components/module/qcm/styles.scss +++ b/mon-pix/app/pods/components/module/qcm/styles.scss @@ -1,11 +1,17 @@ .element-qcm { - &__header { - display: flex; - flex-direction: column-reverse; + &__instruction { + margin-bottom: var(--pix-spacing-2x); + font-weight: var(--pix-font-medium); + } + + &__direction { + @extend %pix-body-s; + + color: var(--pix-neutral-500); } &__proposals { - margin-bottom: var(--pix-spacing-4x); + margin: var(--pix-spacing-4x) 0; } &__required-field-missing { @@ -17,20 +23,6 @@ } } -.element-qcm-header { - &__direction { - @extend %pix-body-s; - - margin-bottom: var(--pix-spacing-4x); - color: var(--pix-neutral-500); - } - - &__instruction { - margin-bottom: var(--pix-spacing-2x); - font-weight: var(--pix-font-medium); - } -} - .element-qcm-proposals { &__proposal { padding: var(--pix-spacing-2x); diff --git a/mon-pix/app/pods/components/module/qcm/template.hbs b/mon-pix/app/pods/components/module/qcm/template.hbs index 2771efb09c6..38e56f695a4 100644 --- a/mon-pix/app/pods/components/module/qcm/template.hbs +++ b/mon-pix/app/pods/components/module/qcm/template.hbs @@ -1,15 +1,17 @@ -