From a2e8d7cba23bab561f3ac32d51468410e3506940 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 8 Dec 2022 21:13:00 +0000 Subject: [PATCH] Bug 31935: (follow-up) Make form look better Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/serials/subscription-add.tt | 5 +++-- koha-tmpl/intranet-tmpl/prog/js/subscription-add.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt index 8c3ea64a8b..138d7cbba7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt @@ -14,6 +14,7 @@ fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ /* Prevents Bootstrap menus from being hidden inside modal */ #mana_search_result .modal { overflow: visible; } #mana_search_result .modal-body { overflow-y: visible; } +.inputnote { padding-left: 13rem; padding-top: 1rem; } fieldset.rows table { clear: none; margin: 0; } @@ -88,12 +89,12 @@ fieldset.rows table { clear: none; margin: 0; } [% END %]
  • - () Search for a vendor + Search for a vendor
  • - () Required + Required
    Subscriptions must be associated with a bibliographic record
    Search for record diff --git a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js index 98755dd5a8..0b82974962 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js +++ b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js @@ -740,7 +740,7 @@ $(document).ready(function() { }); $("input[name='serialsadditems']").on("change", function(){ - const display = $(this).val() == "1" ? "block" : "none"; + const display = $(this).val() == "1" ? "flex" : "none"; $(".use_items").css('display', display).find("select").val("") }); -- 2.39.5