From a25cf9e6cbd1455204ad7d2e82586218e0bda5b1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 28 Sep 2020 11:46:17 +0000 Subject: [PATCH] Bug 26551: Correct modal markup to prevent long heading from overflowing This patch modifies the markup of the MARC framework import and export modals so that CSS intended only for Bootstrap buttons isn't applied to content in the modal. The modal dialog markup was nested inside a ".btn-group"
, which carries with it CSS that prevents text wrapping. Moving the modal markup out of the button group while keeping it inside the corrects the problem. Lines have only been shifted and reindented. To test, apply the patch and go to Administration -> MARC bibliographic framework. - In the table of frameworks, from the "Actions" menu, test both the "Import" and "Export" links. Both should work as expected. - Confirm that the text of the heading on the "Import" modal wraps correctly. - Test the same operations for a framework other than the default one. Signed-off-by: David Nind Signed-off-by: Martin Renvoize --- .../prog/en/modules/admin/biblio_framework.tt | 192 +++++++++--------- 1 file changed, 96 insertions(+), 96 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt index a49009b3b0..9371c2ced9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt @@ -145,55 +145,55 @@
  • Import
  • - - - - -
    + + + + + @@ -215,55 +215,55 @@
  • Import
  • - - + + + - - - + + -- 2.20.1