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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 May 2017 13:10:16 +0000 (09:10 -0400)
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>
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
+}