Skip to content

Commit

Permalink
set margin for image fix to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Aug 28, 2019
1 parent dafe48f commit 0d0f178
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jorobo.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extension = aggpxtrack
version = 1.1.0
version = 1.1.1
source = src
target = package

Expand Down
8 changes: 8 additions & 0 deletions src/media/plg_fields_aggpxtrack/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer
{
margin: 0 0 0 0 !important;
}

1 change: 1 addition & 0 deletions src/plugins/fields/aggpxtrack/tmpl/aggpxtrack.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
// Include skripts/styles to the header
$document = JFactory::getDocument();
$document->addStyleSheet(JURI::root(true) . '/media/plg_fields_aggpxtrack/leaflet/leaflet.css');
$document->addStyleSheet(JURI::root(true) . '/media/plg_fields_aggpxtrack/css/style.css');
$document->addScript(JURI::root(true) . '/media/plg_fields_aggpxtrack/leaflet/leaflet.js');
$document->addScript(JURI::root(true) . '/media/plg_fields_aggpxtrack/leaflet-gpx/gpx.js');

Expand Down

0 comments on commit 0d0f178

Please sign in to comment.