gitea/templates/repo/issue
Giteabot 846888fb15
Fix label rendering (#30456) (#30460)
Backport #30456 by wxiaoguang

1. Check whether the label is for an issue or a pull request.
2. Don't use space to layout
3. Make sure the test strings have trailing spaces explicitly, to avoid
some IDE removing the trailing spaces automatically.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-04-13 10:33:32 +00:00
..
fields Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
labels Prevent flash of dropdown menu on labels list (#30215) (#30216) 2024-04-01 06:16:55 +00:00
milestone Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
view_content Fix label rendering (#30456) (#30460) 2024-04-13 10:33:32 +00:00
branch_selector_field.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
card.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
choose.tmpl Fix spacing in issue navbar (#30238) (#30242) 2024-04-02 12:15:50 +00:00
comment_tab.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
filter_actions.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
filter_list.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
filters.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
label_precolors.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
labels.tmpl Fix spacing in issue navbar (#30238) (#30242) 2024-04-02 12:15:50 +00:00
list.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
milestone_issues.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
milestone_new.tmpl Fix spacing in issue navbar (#30238) (#30242) 2024-04-02 12:15:50 +00:00
milestones.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
navbar.tmpl Fix menu buttons in issues and release (#30056) 2024-03-25 13:52:54 +00:00
new.tmpl Fix incorrect redirection when creating a PR fails (#29537) 2024-03-02 12:45:14 +00:00
new_form.tmpl When the title in the issue has a value, set the text cursor at the end of the text. (#30090) 2024-03-27 15:20:10 +08:00
openclose.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
search.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
view_content.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
view_title.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00