Fix leaflet tooltip padding

This commit is contained in:
2020-04-10 20:25:44 +02:00
parent f04fe46502
commit 3b28288f0c
5 changed files with 11 additions and 8 deletions

View File

@@ -176,10 +176,10 @@ class Spot extends Main
$sFileName = 'spot_cron.sh';
$sContent =
'#!/bin/bash'."\n".
'wget -qO- '.$this->asContext['serv_name'].'index.php?a=dummy > /dev/null'."\n".
'wget -qO- '.$this->asContext['serv_name'].'index.php?a=dummy > /dev/null'."\n".
'#Crontab job: 0 * * * * . '.dirname($_SERVER['SCRIPT_FILENAME']).'/'.$sFileName.' > /dev/null'."\n";
$bResult = (file_put_contents($sFileName, $sContent)!==false);
return $bResult?self::SUCCESS:self::ERROR;
$bSuccess = (file_put_contents($sFileName, $sContent)!==false);
return self::getJsonResult($bSuccess, '');
}
public function getMarkers()

View File

@@ -16,6 +16,12 @@ $stroke-width-axis : 2;
.leaflet-container {
background: none;
}
.leaflet-popup-content-wrapper {
border-radius: 5px;
}
.leaflet-popup-content {
margin: 1rem;
}
/* Leaflet Elevation fixes */
.#{$theme} {

View File

@@ -553,10 +553,7 @@ $legend-color: $post-color;
/* Info Window */
.leaflet-popup-content {
margin: 0;
.info-window {
margin: 1rem;
h1 {
font-size: 1.2em;
margin: 1em 0 1.2em;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long