Bug 20044: (follow-up) Add min-width to .input_marceditor
authorOwen Leonard <oleonard@myacpl.org>
Fri, 3 Aug 2018 14:37:09 +0000 (14:37 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 13:24:03 +0000 (13:24 +0000)
This patch adds a min-width property to the first .input_marceditor rule
in order to prevent <selects> styled by Select2 from collapsing at
narrower browser widths.

To reproduce the bug, apply all patches on Bug 20044 except this one.
Open the MARC editor and narrow the browser width to below 768 pixels.
Reload the page and view a tab which contains a <select> styled by
Select2 (942c is often an example). The <select> will have narrowed to
be almost invisible.

Apply the patch and reproduce the steps above. The <select>s should be
fully visible.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/addbiblio.css

index b6cc573..5670a23 100644 (file)
@@ -91,6 +91,7 @@ a.tagnum {
 
 .input_marceditor {
        float:left;
+    min-width: 20em;
     width: auto;
 }