autocomplete: limit width of autocomplete menu.
Limit the width of the autocomplete menu to 480px. This is so that stupidly long isekai titles don't blow out the size of the menu when searching for common words. For example, when searching for "look", one of the results is: no_matter_how_you_look_at_it_it's_your_fault_that_i'm_not_popular! -> watashi_ga_motenai_no_wa_dou_kangaetemo_omaera_ga_warui!
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<% end %>
|
||||
|
||||
<% if result.post_count %>
|
||||
<%= tag.span humanized_number(result.post_count), class: "post-count", style: "float: right;" %>
|
||||
<%= tag.span humanized_number(result.post_count), class: "post-count" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user