From 5de37de1c7e51443889979c06ad0bfbe1d3f5630 Mon Sep 17 00:00:00 2001 From: gokaysatir Date: Wed, 12 Aug 2020 19:20:42 +0300 Subject: [PATCH] loleaflet mobile: Insert image: Make all items visible. Change-Id: If479adf4a3b106676f9174669e3f7141bb23964d Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100613 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice Reviewed-by: Henry Castro --- loleaflet/css/toolbar.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css index 0f11a2b34..9b1b579af 100644 --- a/loleaflet/css/toolbar.css +++ b/loleaflet/css/toolbar.css @@ -792,21 +792,27 @@ button.leaflet-control-search-next .insertshape-grid { box-sizing: border-box; background: rgba(255, 255, 255, 0.5); - position: relative; + position: static; padding: 2px; - display: inline-block; + display: block; min-width: 350px; width: 100%; - height: 100%; + height: auto; } .insertshape-grid .row { - height: 30px; + height: auto; + position: static; + text-align: left; +} + +.insertshape-grid .row:last-child { + box-sizing: content-box; + margin-bottom: 43px; } .insertshape-grid .col { - height: 100%; - float: left; + height: 30px; padding: 2px; width: 30px; border: 1px solid transparent;