Fix leaflet tooltip padding
This commit is contained in:
@@ -178,8 +178,8 @@ class Spot extends Main
|
||||
'#!/bin/bash'."\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()
|
||||
|
||||
@@ -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} {
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user