Fix leaflet tooltip padding
This commit is contained in:
@@ -176,10 +176,10 @@ class Spot extends Main
|
|||||||
$sFileName = 'spot_cron.sh';
|
$sFileName = 'spot_cron.sh';
|
||||||
$sContent =
|
$sContent =
|
||||||
'#!/bin/bash'."\n".
|
'#!/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";
|
'#Crontab job: 0 * * * * . '.dirname($_SERVER['SCRIPT_FILENAME']).'/'.$sFileName.' > /dev/null'."\n";
|
||||||
$bResult = (file_put_contents($sFileName, $sContent)!==false);
|
$bSuccess = (file_put_contents($sFileName, $sContent)!==false);
|
||||||
return $bResult?self::SUCCESS:self::ERROR;
|
return self::getJsonResult($bSuccess, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMarkers()
|
public function getMarkers()
|
||||||
|
|||||||
@@ -16,6 +16,12 @@ $stroke-width-axis : 2;
|
|||||||
.leaflet-container {
|
.leaflet-container {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
.leaflet-popup-content-wrapper {
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
.leaflet-popup-content {
|
||||||
|
margin: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* Leaflet Elevation fixes */
|
/* Leaflet Elevation fixes */
|
||||||
.#{$theme} {
|
.#{$theme} {
|
||||||
|
|||||||
@@ -553,10 +553,7 @@ $legend-color: $post-color;
|
|||||||
/* Info Window */
|
/* Info Window */
|
||||||
|
|
||||||
.leaflet-popup-content {
|
.leaflet-popup-content {
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
.info-window {
|
.info-window {
|
||||||
margin: 1rem;
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin: 1em 0 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
Reference in New Issue
Block a user