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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 14 May 2017 10:17:42 +0000 (12:17 +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>

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
+}