diff --git a/frontends/etiquette_flask/templates/bookmarks.html b/frontends/etiquette_flask/templates/bookmarks.html index 836b8d4..be07e7e 100644 --- a/frontends/etiquette_flask/templates/bookmarks.html +++ b/frontends/etiquette_flask/templates/bookmarks.html @@ -25,6 +25,8 @@ padding: 8px; margin: 8px; + width: 500px; + max-width: 500px; border-radius: 8px; box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.25); @@ -48,7 +50,7 @@ {%- if bookmark.title -%} {{bookmark.title}} @@ -66,7 +68,7 @@ {% endfor %}
- +
@@ -111,6 +113,11 @@ function on_save(editor, edit_element_map) { var title_editor = edit_element_map["title"]; var url_editor = edit_element_map["url"]; + url_editor.value = url_editor.value.trim(); + if (!url_editor.value) + { + return; + } editor.show_spinner(); function callback()