From bac51dc7cc62af3ca0068d73500c34b55fb7bdaa Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Tue, 13 Dec 2016 03:55:21 +0100 Subject: [PATCH] preserve aspect of extra symbols in select --- js/gpxedit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/gpxedit.js b/js/gpxedit.js index 20d4e21..57443cb 100644 --- a/js/gpxedit.js +++ b/js/gpxedit.js @@ -914,7 +914,7 @@ function updateLeafletDrawMarkerStyle(){ $('#markerstyleselect').attr('style', 'background: url(\''+fullurl+'\') no-repeat '+ 'right 8px center rgba(240, 240, 240, 0.90);'+ - 'background-size: 24px 24px;'); + 'background-size: 24px 24px contain;'); } var tst = $('#tooltipstyleselect').val(); var theicon = symbolIcons[wst]; @@ -1211,7 +1211,7 @@ $(document).ready(function(){ $(this).attr('style', 'background: url(\''+fullurl+'\') no-repeat '+ 'right 8px center rgba(240, 240, 240, 0.90);'+ - 'background-size: 24px 24px;'); + 'background-size: 24px 24px contain;'); } });