summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2024-08-24 19:38:48 +0200
committerSamantaz Fox <coding@samantaz.fr>2024-08-24 19:38:48 +0200
commitfebf18cbf724715101e55e261062c23691ff39ad (patch)
tree8e81c9484f6e4c2741c9ff1bc3f27c44f9abd7bb /src
parente319c35f097e08590e705378c7e5b479720deabc (diff)
parentb200ebfb6bc9de169d288c3d816332ea439fbdb6 (diff)
downloadinvidious-febf18cbf724715101e55e261062c23691ff39ad.tar.gz
invidious-febf18cbf724715101e55e261062c23691ff39ad.tar.bz2
invidious-febf18cbf724715101e55e261062c23691ff39ad.zip
UI: Add search button to search bar (#4706)
Closes issue 529
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/components/search_box.ecr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/invidious/views/components/search_box.ecr b/src/invidious/views/components/search_box.ecr
index a03785d1..29da2c52 100644
--- a/src/invidious/views/components/search_box.ecr
+++ b/src/invidious/views/components/search_box.ecr
@@ -6,4 +6,7 @@
title="<%= translate(locale, "search") %>"
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
</fieldset>
+ <button type="submit" id="searchbutton" aria-label="<%= translate(locale, "search") %>">
+ <i class="icon ion-ios-search"></i>
+ </button>
</form>