From 14af647abc1a99b2d7e2dcda30c221ec5a474c52 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 6 May 2022 03:33:59 +0000 Subject: [PATCH] Bug 30701: Make Upload Tool buttons work on mobile-size screen When the Upload tool is accessed on a smaller (mobile) screen (less than 768 pixels wide), the Upload and Browse buttons cannot be clicked. This patch fixes that. To test: 1) Go to Tools -> Upload 2) Make the screen narrower, either by opening your browser's Inspector tool and using Responsive Design Mode, or by dragging in the edge of the window to make it narrower. 3) Notice that when the screen becomes narrower than 768px, the sections squash together and the padding between them is lost. Try to click on the Browse and Upload buttons, notice you cannot. 4) Apply patch and refresh the Upload Tool 5) Ensure the screen is narrower than 768px. Confirm there is now padding between the sections, and the buttons are clickable again. Sponsored-by: Chartered Accountants Australia and New Zealand Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt index 9f6da6ab3c..c88238fab1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt @@ -280,12 +280,12 @@ [% PROCESS form_new %]
[% IF uploadcategories %] -
+
[% PROCESS form_browse %]
-
+
[% ELSE %] -
+
[% END %] [% PROCESS form_search %]
-- 2.30.2