diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-04-24 20:20:46 +0530 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-04-25 10:28:05 +0200 |
commit | 7661a518da261946d6bcc0c5227d942f6793c737 (patch) | |
tree | 5238da818ae076c4f204f37e7421ad6261a798bf | |
parent | a03bfc15cc5d5861598efe0b63239ceecf282174 (diff) |
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@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r-- | loleaflet/dist/loleaflet.css | 5 | ||||
-rw-r--r-- | loleaflet/src/layer/AnnotationManager.js | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css index 47ed88b00..274548e40 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 012a6a088..4b7143193 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) { |