diff --git a/ckanext/spatial/public/css/geojson_preview.css b/ckanext/spatial/public/css/geojson_preview.css index 4220ee8..0dd66e5 100644 --- a/ckanext/spatial/public/css/geojson_preview.css +++ b/ckanext/spatial/public/css/geojson_preview.css @@ -2,6 +2,7 @@ html, body { height: 600px; padding: 0; margin: 0; + background: none; } #map { @@ -10,19 +11,6 @@ html, body { height: 100%; } -.popup-table { - border-collapse: collapse; - border: 1px solid #bbb; - table-layout: fixed; +#map .table{ width: 300px; } - -.popup-table td, .popup-table th { - border: 1px solid #bbb; - padding: 4px; - word-wrap: break-word; -} - -.popup-table tr:nth-child(even) { - background-color: #eee; -} \ No newline at end of file diff --git a/ckanext/spatial/public/js/geojson_preview.js b/ckanext/spatial/public/js/geojson_preview.js index 19e5391..d656061 100644 --- a/ckanext/spatial/public/js/geojson_preview.js +++ b/ckanext/spatial/public/js/geojson_preview.js @@ -2,7 +2,7 @@ ckan.module('geojsonpreview', function (jQuery, _) { return { options: { - table: '