loleaflet/dist/leaflet.css |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

New commits:
commit d077731b779152da86dae0a00d911dba32da834c
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Tue Feb 27 16:06:12 2018 +0530

    loleaflet: Hidden input window shouldn't have any border, padding, etc.
    
    See comments for details.
    
    Change-Id: I1797100b9937f6c9230a12198479d96fca789f66
    Reviewed-on: https://gerrit.libreoffice.org/50417
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/dist/leaflet.css b/loleaflet/dist/leaflet.css
index b2bf8115..50f54395 100644
--- a/loleaflet/dist/leaflet.css
+++ b/loleaflet/dist/leaflet.css
@@ -688,11 +688,18 @@ div.leaflet-cursor-container:hover > 
.leaflet-cursor-header {
        opacity: 0;
        }
 
-.clipboard {
-       width: 1px;
-       height: 1px;
-       padding: 0px;
-       }
+input.clipboard {
+       width: 0px;
+       height: 0px;
+       padding: 0px !important; /* w2ui defines "input:not([type=button])" 
rule which sets
+                                   the padding to non-zero. Hence, the 
!important. Otherwise,
+                                   clipboard cursor apperas in MSIE and MSEdge 
*/
+       border: 0px !important;
+}
+
+.clipboard:focus {
+    outline: none;
+}
 
 .resize-detector {
     position: absolute;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to