From 42c0d916bc10ed6acd9cddbd2a72c312a52a15d5 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 --- .../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 bfb8b36e35..11d6af7816 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.11.0