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 (#6620)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6620
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
Otto 2025-01-19 15:06:15 +00:00
commit ce4730f9d7

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>