diff --git a/bookmarks/static/live-reload.js b/bookmarks/static/live-reload.js index 32f41b7..7f7cded 100644 --- a/bookmarks/static/live-reload.js +++ b/bookmarks/static/live-reload.js @@ -25,7 +25,7 @@ function connect() { const data = JSON.parse(event.data); console.log("[live-reload] File changed:", data); - if (data.file_path.endsWith(".css") || data.file_path.endsWith(".js")) { + if (data.file_path.endsWith(".html") || data.file_path.endsWith(".css") || data.file_path.endsWith(".js")) { console.log("[live-reload] Asset changed, reloading page"); window.location.reload(); } diff --git a/bookmarks/styles/theme/autocomplete.css b/bookmarks/styles/theme/autocomplete.css index 513ba1e..f8a74b0 100644 --- a/bookmarks/styles/theme/autocomplete.css +++ b/bookmarks/styles/theme/autocomplete.css @@ -54,7 +54,7 @@ position: fixed; max-height: var(--menu-max-height, 200px); overflow: auto; - + & .menu-item { white-space: normal; } diff --git a/bookmarks/templates/shared/head.html b/bookmarks/templates/shared/head.html index f7505ca..29bcefb 100644 --- a/bookmarks/templates/shared/head.html +++ b/bookmarks/templates/shared/head.html @@ -61,5 +61,7 @@ {% if not request.global_settings.enable_link_prefetch %}{% endif %} {% if rss_feed_url %}{% endif %} - {% if debug %}{% endif %} + {% if debug %} + + {% endif %} diff --git a/bookmarks/views/__init__.py b/bookmarks/views/__init__.py index a779358..7c61067 100644 --- a/bookmarks/views/__init__.py +++ b/bookmarks/views/__init__.py @@ -10,4 +10,3 @@ from .manifest import manifest from .custom_css import custom_css from .root import root from .opensearch import opensearch -