diff --git a/changedetectionio/static/js/visual-selector.js b/changedetectionio/static/js/visual-selector.js index cd0affecd..27c376d05 100644 --- a/changedetectionio/static/js/visual-selector.js +++ b/changedetectionio/static/js/visual-selector.js @@ -58,6 +58,7 @@ function set_scale() { vh = Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0); $("#selector-wrapper").css('height', vh-250); + $("#selector-current-xpath").css('max-width', selector_image_rect.width); }