1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-20 16:50:28 -05:00

fix(ui): add triangle down octicon to code search options dropdown

This adds the triangle down oction to the code search options dropdown
to match the other search option dropdowns (issue, pull).
This commit is contained in:
Beowulf 2025-01-19 01:42:00 +01:00
parent d68e0d3e39
commit 5f2d445d00
No known key found for this signature in database
GPG key ID: 44225F5F2792841D

View file

@ -7,6 +7,7 @@
<div class="ui small fluid action input">
{{template "shared/search/input" dict "Value" .Value "Disabled" .Disabled "Placeholder" .Placeholder}}
<div class="ui small dropdown selection {{if .Disabled}} disabled{{end}}" data-tooltip-content="{{ctx.Locale.Tr "search.type_tooltip"}}">
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="text">
{{ctx.Locale.Tr (printf "search.%s" .Selected)}}
</div>