[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-1' - loleaflet/dist
Pranav Kant
pranavk at collabora.co.uk
Tue Feb 27 15:22:18 UTC 2018
loleaflet/dist/leaflet.css | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
New commits:
commit d077731b779152da86dae0a00d911dba32da834c
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
Reviewed-on: https://gerrit.libreoffice.org/50417
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at 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;
More information about the Libreoffice-commits
mailing list