diff --git a/umap/static/umap/css/slideshow.css b/umap/static/umap/css/slideshow.css index c5084ccd..7d7e856c 100644 --- a/umap/static/umap/css/slideshow.css +++ b/umap/static/umap/css/slideshow.css @@ -5,7 +5,7 @@ display: none; } .umap-slideshow-enabled .umap-slideshow-toolbox { - display: inline-block; + display: flex; } .umap-slideshow-toolbox li { display: inline-block; diff --git a/umap/static/umap/js/modules/rendering/template.js b/umap/static/umap/js/modules/rendering/template.js index e972d662..19090b38 100644 --- a/umap/static/umap/js/modules/rendering/template.js +++ b/umap/static/umap/js/modules/rendering/template.js @@ -24,9 +24,9 @@ export default function loadTemplate(name, feature, container) { } class PopupTemplate { - renderTitle(feature, container) {} + renderTitle(feature) {} - renderBody(feature, container) { + renderBody(feature) { const template = feature.getOption('popupContentTemplate') const target = feature.getOption('outlinkTarget') const properties = feature.extendedProperties() @@ -40,7 +40,7 @@ class PopupTemplate { return Utils.loadTemplate(`
${content}
`) } - renderFooter(feature, container) { + renderFooter(feature) { if (feature.hasPopupFooter()) { const template = `