diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/search.ecr | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/invidious/views/search.ecr b/src/invidious/views/search.ecr index 3fa9242b..92e32b30 100644 --- a/src/invidious/views/search.ecr +++ b/src/invidious/views/search.ecr @@ -2,18 +2,10 @@ <title><%= search_query.not_nil!.size > 30 ? HTML.escape(query.not_nil![0,30].rstrip(".") + "...") : HTML.escape(query.not_nil!) %> - Invidious</title> <% end %> -<h3> - <a id="togglefilters" href="javascript:void(0)">[ + ]</a> - <%= translate(locale, "filter") %> -</h3> - -<noscript> - <style> - #filters { - display: flex; - } - </style> -</noscript> +<details id="filters"> + <summary> + <a><h3 style="display:inline"> <%= translate(locale, "filter") %> </h3></a> + </summary> <div id="filters" class="pure-g h-box"> <div class="pure-u-1-3 pure-u-md-1-5"> <b><%= translate(locale, "date") %></b> @@ -95,6 +87,7 @@ <% end %> </div> </div> +</details> <hr/> @@ -141,4 +134,4 @@ <% end %> </div> </div> -<script src="/js/search.js?v=<%= ASSET_COMMIT %>"></script>
\ No newline at end of file +<script src="/js/search.js?v=<%= ASSET_COMMIT %>"></script> |
