0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/templates/repo/issue
wxiaoguang 46c17c8029
Use flex to align SVG and text (#25163)
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: Giteabot <teabot@gitea.io>
2023-06-14 16:40:15 +00:00
..
fields
labels Button and color enhancements (#24989) 2023-06-09 08:37:47 +00:00
milestone Improve dropdown menus, remove inline styles (#24954) 2023-05-29 14:10:06 +00:00
view_content Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
branch_selector_field.tmpl Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
choose.tmpl Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
comment_tab.tmpl
label_precolors.tmpl
labels.tmpl Button and color enhancements (#24989) 2023-06-09 08:37:47 +00:00
list.tmpl Button and color enhancements (#24989) 2023-06-09 08:37:47 +00:00
milestone_issues.tmpl Add Progressbar to Milestone Page (#25050) 2023-06-05 14:25:46 +08:00
milestone_new.tmpl
milestones.tmpl
navbar.tmpl
new_form.tmpl Improve dropdown menus, remove inline styles (#24954) 2023-05-29 14:10:06 +00:00
new.tmpl
openclose.tmpl
search.tmpl Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
view_content.tmpl Button and color enhancements (#24989) 2023-06-09 08:37:47 +00:00
view_title.tmpl Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
view.tmpl