[Libreoffice-commits] online.git: loleaflet/dist

Pranav Kant pranavk at collabora.co.uk
Wed Feb 28 12:07:28 UTC 2018


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

New commits:
commit f8929b42d7a10fdc317881a3fceb57f695c459ec
Author: Pranav Kant <pranavk at 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

diff --git a/loleaflet/dist/leaflet.css b/loleaflet/dist/leaflet.css
index b2bf8115d..50f543957 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;


More information about the Libreoffice-commits mailing list