diff --git a/README.md b/README.md index 804d010..8a79ddb 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ We moved our instances list to our webpage: https://www.halcyon.social/instances or read our new documentation pages to install it manually: https://www.halcyon.social/documentation.php?page=install ## Blog +- Release of Version 2.4.6 - Replace some removed Mastodon APIs,fix Toot button not locking on CTRL+Enter,make navbar a bit more responsive - Release of Version 2.4.5 - Support for emoji categories,added links to admin panel,rewrite links to Invidious and Nitter at compose,bugfixes - Release of Version 2.4.4 - Option to rewrite all Twitter links to Nitter,click on animated GIF works like image now,full height for images option now works for animated GIF - Release of Version 2.4.3 - Fixed login,fixed YouPlay/Invidious embeds,fixed empty image placeholder when audio available,improved status template code diff --git a/assets/css/style.css b/assets/css/style.css index 1f985d1..1a2aea2 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -2993,3 +2993,16 @@ color:#FFFFFF; .media_attachments_delete_button i{ margin:5px; } +@media(max-width:899px) { +#header .header_nav_wrap .header_left_box ul.header_nav_list li.header_nav_item a > span, +#header .header_nav_wrap .header_right_box ul.header_nav_list li.search_form_wrap, +#header .header_nav_wrap .header_right_box ul.header_nav_list li.toot_button_wrap .toot_button_label > span { +display:none; +} +#header .header_nav_wrap .header_right_box ul.header_nav_list li.toot_button_wrap .toot_button { +width:40px; +} +#header .header_nav_wrap .header_left_box ul.header_nav_list li.header_nav_item a { +padding-right:4px; +} +} diff --git a/assets/js/autocomplete/search.js b/assets/js/autocomplete/search.js index 3d52501..9bc3272 100644 --- a/assets/js/autocomplete/search.js +++ b/assets/js/autocomplete/search.js @@ -21,14 +21,14 @@ replace_emoji(); function searchremotefill(text) { if(text == "@") searchlocalfill(); else { -api.get("search?q="+encodeURIComponent(text)+"&resolve=false&limit=5",function(data) { +api.search("q="+encodeURIComponent(text)+"&resolve=false&limit=5",function(data) { if(data.hashtags.length == 0 && data.accounts.length == 0) $(".header_search_suggestions").addClass("invisible"); else { var dropdown = $("