You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/issue/view_content
Giteabot 5191ab6445
Use flex to align SVG and text (#25163) (#25260)
Backport #25163 by @wxiaoguang

The code can be as simple as:

```html
<div class="flex-text-block">{{svg "octicon-alert"}} {{svg "octicon-x"}} text (block)</div>
<div><div class="flex-text-inline">{{svg "octicon-alert"}} {{svg "octicon-x"}} text</div> (inline)</div>
<div><button class="ui red button">{{svg "octicon-alert" 24}} {{svg "octicon-x" 24}} text</button></div>
```


![image](https://github.com/go-gitea/gitea/assets/2114189/1d3c10f1-0bc7-4c26-b236-bad537d5c465)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
add_reaction.tmpl Improve and fix bugs surrounding reactions (#24760) 2 years ago
attachments.tmpl Improve template helper functions: string/slice (#24266) 2 years ago
comments.tmpl Improve and fix bugs surrounding reactions (#24760) 2 years ago
comments_delete_time.tmpl Fix missing yes/no in delete time log modal (#24851) 2 years ago
context_menu.tmpl Improve and fix bugs surrounding reactions (#24760) 2 years ago
pull.tmpl Use flex to align SVG and text (#25163) (#25260) 2 years ago
pull_merge_instruction.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
reactions.tmpl Improve and fix bugs surrounding reactions (#24760) 2 years ago
reference_issue_dialog.tmpl Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
sidebar.tmpl Use flex to align SVG and text (#25163) (#25260) 2 years ago
update_branch_by_merge.tmpl Use flex to align SVG and text (#25163) (#25260) 2 years ago