From 48757bd3790dbf6d3091ea3b3f78acbe82be2f01 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 Signed-off-by: Jonathan Druart (cherry picked from commit c21de86ab2d1bf5c147dfd453b195a441603e118) Signed-off-by: Lucas Gass --- .../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.39.5