From 9ab719213c34b5c79f87c585ab967c327f553f9f Mon Sep 17 00:00:00 2001 From: Martin Rubli Date: Thu, 15 Feb 2024 23:11:52 +0100 Subject: [PATCH] static: css: Fix image path for resize handle If the site is deployed to a different root path (e.g. /photos/), the absolute /images path is broken. Use a relative path instead since the CSS and the images are both underneath the static directory. --- static/css/hugo-mod-leaflet.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/hugo-mod-leaflet.css b/static/css/hugo-mod-leaflet.css index 4a851e8..c2a5f72 100644 --- a/static/css/hugo-mod-leaflet.css +++ b/static/css/hugo-mod-leaflet.css @@ -6,7 +6,7 @@ } .ui-icon { - background-image: url('/images/resize-handle-se.png'); + background-image: url('../images/resize-handle-se.png'); background-position: -1px -1px; }