diff options
author | Beowulf <beowulf@beocode.eu> | 2024-07-17 20:14:02 +0200 |
---|---|---|
committer | Gusted <postmaster@gusted.xyz> | 2024-07-23 00:55:27 +0200 |
commit | f7499dd7c45348898b5e58aa743bc3ff1feada80 (patch) | |
tree | b661cd10cf885374b89c0c3ffbbc0c1ca45e93cd | |
parent | [v7.0/forgejo] ui: fix issue labels (diff) | |
download | forgejo-f7499dd7c45348898b5e58aa743bc3ff1feada80.tar.xz forgejo-f7499dd7c45348898b5e58aa743bc3ff1feada80.zip |
[v7.0/forgejo] Fix label selector popup width (issue creation)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/4551
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 is a follow-up to https://codeberg.org/forgejo/forgejo/pulls/4546
(cherry picked from commit b32a03531c1b78b2f7a3eb60c145fc2a2889ee76)
-rw-r--r-- | templates/repo/issue/labels/labels_selector_field.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/labels/labels_selector_field.tmpl b/templates/repo/issue/labels/labels_selector_field.tmpl index b4aee41da5..9e54e7a649 100644 --- a/templates/repo/issue/labels/labels_selector_field.tmpl +++ b/templates/repo/issue/labels/labels_selector_field.tmpl @@ -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> |