loleaflet/dist/toolbar.css |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 0ef75107fcfe8cb07ae97f676bc0b141d95e93a1
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Fri Aug 4 17:41:54 2017 +0530

    loleaflet: Explicitly mention z-index to please MS Edge 40
    
    This is not required in any other browser, but Edge 40 requires it
    otherwise the popup window upon clicking the combo box goes behind the
    main #map element.
    
    Change-Id: Ie95263f08c8af27b16a56ba2c3c7a9faa308400a
    (cherry picked from commit 341c07b64f1012731b6d337929b120640d2474be)
    Reviewed-on: https://gerrit.libreoffice.org/40765
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css
index 656c9800..710783af 100644
--- a/loleaflet/dist/toolbar.css
+++ b/loleaflet/dist/toolbar.css
@@ -42,6 +42,16 @@
     width: 100%;
 }
 
+/* For MS Edge 40, the select2 combo boxes need to have higher z-index than 
#map
+ * Ideal would be to add the class to select2-container <span>, but
+ * https://github.com/select2/select2/issues/285
+ * So, for now just define the z-index here separately for the same class that 
select2 uses
+ * as a container
+ */
+.select2-container {
+    z-index: 11;
+}
+
 /* center the toolbar */
 #tb_presentation-toolbar_item_left {
     width: 50%;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to