1
0
Fork 0

Fix label selector popup width (issue creation)

This aligns the popup width of the label selector during issue creation
to the width of the label selector in an already created issue.

(The inherited width from "ui form" is reset to prevent width: 100% on the
input element in the search box.)
This commit is contained in:
Beowulf 2024-07-17 20:14:02 +02:00
parent 20f5f050f3
commit b32a03531c
No known key found for this signature in database
GPG key ID: 44225F5F2792841D

View file

@ -9,7 +9,7 @@
{{if or .Labels .OrgLabels}}
<div class="ui icon search input">
<i class="icon">{{svg "octicon-search" 16}}</i>
<input type="text" placeholder="{{ctx.Locale.Tr "repo.issues.filter_labels"}}">
<input class="tw-w-auto" type="text" placeholder="{{ctx.Locale.Tr "repo.issues.filter_labels"}}">
</div>
{{end}}
<a class="no-select item" href="#">{{ctx.Locale.Tr "repo.issues.new.clear_labels"}}</a>