From 9e39acf87483378ce59eebc1181dc0d2a1f30842 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 19 Sep 2021 13:13:22 +0300 Subject: [PATCH] Bug 28934: Make the OPAC registration form design consistent The gender/sex and GDPR inputs were slightly misaligned (by 1.5em). Now they are aligned with the other inputs which have a width of 10em (9em width + margin 1em). The label assignments and required attributes for input elements are made also consistent. To test: 1) Enable GDPR_Policy syspref 2) Apply patch, run "yarn build --view opac", restart plack 3) Go to /cgi-bin/koha/opac-memberentry.pl 3) Check that the GDPR input box shows the required text now in red color 3) Check that the alignment of sex/gender and GDPR input matches with the other inputs perfectly. --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index c665cfea5d..6605f9d258 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -774,7 +774,7 @@ fieldset { width: 100%; &.lradio { - padding-left: 8.5em; + padding-left: 10em; width: auto; label { diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 7f1ad4a58a..8f0ccf3078 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -871,11 +871,11 @@
    -
  1. +
  2. Required
  3. -
  4. +
  5. Required
  6. @@ -958,7 +958,9 @@ GDPR consent
    1. - I agree with your processing of my personal data as outlined in the privacy policy.
      Required
      + + I agree with your processing of my personal data as outlined in the privacy policy. +
      Required
    -- 2.20.1