[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/dist loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Tue Apr 25 08:28:23 UTC 2017


 loleaflet/dist/loleaflet.css             |    5 +----
 loleaflet/src/layer/AnnotationManager.js |    4 ++--
 2 files changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 7661a518da261946d6bcc0c5227d942f6793c737
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Mon Apr 24 20:20:46 2017 +0530

    loleaflet: Fix width/size of comments/redlines
    
    (cherry picked from commit ca482f006582faa30773792866155fca7c910d03)
    (cherry picked from commit 0c53975f180042e1c7b3cc3fd70737deefaba7a1)
    
    Change-Id: I5cd67258b251a9d522716433d5e190cd29fef078
    Reviewed-on: https://gerrit.libreoffice.org/36921
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index 47ed88b0..274548e4 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -149,10 +149,7 @@ body {
 	color: #222;
 	border: none;
 	border-radius: 2px;
-}
-
-.loleaflet-annotation-content-wrapper {
-        width: 180px;
+	width: 240px;
 }
 
 .loleaflet-annotation-content {
diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js
index 012a6a08..4b714319 100644
--- a/loleaflet/src/layer/AnnotationManager.js
+++ b/loleaflet/src/layer/AnnotationManager.js
@@ -4,10 +4,10 @@
 
 L.AnnotationManager = L.Class.extend({
 	options: {
-		marginX: 50,
+		marginX: 40,
 		marginY: 10,
 		offset: 5,
-		extraSize: L.point(250, 0)
+		extraSize: L.point(290, 0)
 	},
 
 	initialize: function (map, options) {


More information about the Libreoffice-commits mailing list