Bug 17936 - Search bar not aligned on right in small screen sizes
authorOwen Leonard <oleonard@myacpl.org>
Sat, 29 Apr 2017 17:45:48 +0000 (17:45 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 22 May 2017 11:32:11 +0000 (13:32 +0200)
This patch tweaks the OPAC's CSS so that the main search form's fields
have consistent width at small screen sizes.

To test, apply the patch and process the LESS files. View the OPAC main
page at a very narrow browser width and confirm that the text field
width matches that of the dropdown and button.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit e94709cd7efaf3151ef1bde9278bc063a6ddcac1)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 7ebca34861cb71ef17b6fd7f6cba7e7921a564da)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

koha-tmpl/opac-tmpl/bootstrap/less/responsive.less

index 2ef2168..2df6bf5 100644 (file)
         select,
         .librarypulldown .transl1,
         .input-append {
+            box-sizing: border-box;
             display: block;
+            height: 120%;
             width : 97%;
             max-width: 100%;
             margin : .5em 0;
     #ulactioncontainer {
         min-width : 0;
     }
-}
\ No newline at end of file
+}