mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-03 23:34:09 +02:00
Move accounts above hashtags in search results
This commit is contained in:
parent
705b5d38cf
commit
ab915b7115
Resources/Scripts
@ -1196,6 +1196,17 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//
|
||||||
|
// Block: Reorder search results to move accounts above hashtags.
|
||||||
|
//
|
||||||
|
onAppReady.push(function(){
|
||||||
|
let container = $(".js-search-in-popover");
|
||||||
|
let hashtags = $(".js-typeahead-topic-list", container);
|
||||||
|
|
||||||
|
$(".js-typeahead-user-list", container).insertBefore(hashtags);
|
||||||
|
hashtags.addClass("list-divider");
|
||||||
|
});
|
||||||
|
|
||||||
//
|
//
|
||||||
// Block: Make submitting search queries while holding Ctrl or middle-clicking the search icon open the search externally.
|
// Block: Make submitting search queries while holding Ctrl or middle-clicking the search icon open the search externally.
|
||||||
//
|
//
|
||||||
|
@ -195,6 +195,11 @@ a[data-full-url] {
|
|||||||
color: #9f51cf !important;
|
color: #9f51cf !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.js-typeahead-user-list.is-hidden + .js-typeahead-topic-list {
|
||||||
|
/* hide custom search result divider when not needed */
|
||||||
|
border-top: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/***************************************/
|
/***************************************/
|
||||||
/* Replace 'Stay open' with a pin icon */
|
/* Replace 'Stay open' with a pin icon */
|
||||||
/***************************************/
|
/***************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user