From 4068d848127a6d97bb5ead424a2df63e36377eb8 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 --- .../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 8c3ea64a8b5..138d7cbba7b 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 98755dd5a82..0b829749621 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.30.2