diff options
author | silverwind <me@silverwind.io> | 2023-05-29 16:10:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 14:10:06 +0000 |
commit | 73b57c29922a9f76ca061dfe7c118b6e923ee606 (patch) | |
tree | 9df2b7f3781d3c0a8e7acf329e99265850a25e0a /templates/repo/issue/new_form.tmpl | |
parent | 0018b0a15ecc886296e28430ccd2fef5756a50b1 (diff) | |
download | gitea-73b57c29922a9f76ca061dfe7c118b6e923ee606.tar.gz gitea-73b57c29922a9f76ca061dfe7c118b6e923ee606.zip |
Improve dropdown menus, remove inline styles (#24954)
Before:
<img width="190" alt="Screenshot 2023-05-27 at 10 46 43"
src="https://github.com/go-gitea/gitea/assets/115237/b9331fcd-db1d-476e-87f0-f79bae48b1a5">
After:
<img width="154" alt="Screenshot 2023-05-28 at 19 29 03"
src="https://github.com/go-gitea/gitea/assets/115237/8b7f99a2-01a8-4665-9342-a6201b51d30f">
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/issue/new_form.tmpl')
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index bdaafbb36b..00da68eb06 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -93,7 +93,6 @@ {{end}} </span> <div class="menu"> - <div class="header" style="text-transform: none;font-size:16px;">{{.locale.Tr "repo.issues.new.add_project_title"}}</div> {{if or .OpenProjects .ClosedProjects}} <div class="ui icon search input"> <i class="icon gt-df gt-ac gt-jc">{{svg "octicon-search" 16}}</i> @@ -102,7 +101,7 @@ {{end}} <div class="no-select item">{{.locale.Tr "repo.issues.new.clear_projects"}}</div> {{if and (not .OpenProjects) (not .ClosedProjects)}} - <div class="header" style="text-transform: none;font-size:14px;"> + <div class="disabled item"> {{.locale.Tr "repo.issues.new.no_items"}} </div> {{else}} @@ -152,7 +151,6 @@ {{end}} </span> <div class="filter menu" data-id="#assignee_ids"> - <div class="header" style="text-transform: none;font-size:16px;">{{.locale.Tr "repo.issues.new.add_assignees_title"}}</div> <div class="ui icon search input"> <i class="icon gt-df gt-ac gt-jc">{{svg "octicon-search" 16}}</i> <input type="text" placeholder="{{.locale.Tr "repo.issues.filter_assignees"}}"> |