leaflet: make the slide drop sites more visible

Change-Id: Idc8e2ee33fc61449300180e8200f5aa75b82f07e
Reviewed-on: https://gerrit.libreoffice.org/69638
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/71102
This commit is contained in:
Ashod Nakashian 2018-11-23 01:50:30 -05:00 committed by Ashod Nakashian
parent 001dcac278
commit 11335b0e20
2 changed files with 3 additions and 2 deletions

View file

@ -41,5 +41,5 @@
/* Highlight where a slide can be dropped when reordering by drag-and-drop. */ /* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite { .preview-img-dropsite {
border-bottom: 2px solid red; border-bottom: 3px solid red;
} }

View file

@ -67,7 +67,8 @@ L.Control.PartsPreview = L.Control.extend({
var frame = L.DomUtil.create('div', 'preview-frame', this._scrollContainer); var frame = L.DomUtil.create('div', 'preview-frame', this._scrollContainer);
this._addDnDHandlers(frame); this._addDnDHandlers(frame);
frame.setAttribute('draggable', false); frame.setAttribute('draggable', false);
L.DomUtil.setStyle(frame, 'height', '12px'); L.DomUtil.setStyle(frame, 'height', '20px');
L.DomUtil.setStyle(frame, 'margin', '0em');
// Create the preview parts // Create the preview parts
for (var i = 0; i < parts; i++) { for (var i = 0; i < parts; i++) {