From 597529b30cd63a3ba4ec26e382c96751c6d5cc52 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 1 Jul 2016 03:36:20 +0200 Subject: [PATCH] Backport of #261 to stable8.2 Make tag filter bar visible Full width tag filter bar Ensure the tag filter bar is as large as the one for adding bookmarks Tags under filter search bar Ensure the selected tags appear below the tags filter search bar. Update bookmarks.css --- css/3rdparty/jquery.tagit.css | 1 + css/bookmarks.css | 1 + js/3rdparty/tag-it.js | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/3rdparty/jquery.tagit.css b/css/3rdparty/jquery.tagit.css index 1e7e0239..ae814986 100644 --- a/css/3rdparty/jquery.tagit.css +++ b/css/3rdparty/jquery.tagit.css @@ -3,6 +3,7 @@ ul.tagit { overflow: auto; margin-left: inherit; /* usually we don't want the regular ul margins. */ margin-right: inherit; + width: 91.5%; } ul.tagit li { display: block; diff --git a/css/bookmarks.css b/css/bookmarks.css index d8de09f8..1e922b29 100644 --- a/css/bookmarks.css +++ b/css/bookmarks.css @@ -251,6 +251,7 @@ li:hover > .tags_actions > em { display : none; } background: none repeat scroll 0 0 #F8F8F8; } #tag_filter .tagit { + display: inline-block; margin: 0.3em; } #tag_filter ul.tagit > li.tagit-new { diff --git a/js/3rdparty/tag-it.js b/js/3rdparty/tag-it.js index dc67e8bb..f16d021f 100644 --- a/js/3rdparty/tag-it.js +++ b/js/3rdparty/tag-it.js @@ -323,7 +323,7 @@ this._tagInput.val(''); // insert tag - this._tagInput.parent().before(tag); + this._tagInput.parent().after(tag); }, removeTag: function (tag, animate) { if (typeof animate === 'undefined') { @@ -362,4 +362,4 @@ }); -})(jQuery); \ No newline at end of file +})(jQuery);