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.
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>
1 year ago
..
fields Add validations.required check to dropdown field (#24849) 1 year ago
labels Button and color enhancements (#24989) 1 year ago
milestone Improve dropdown menus, remove inline styles (#24954) 1 year ago
view_content Use flex to align SVG and text (#25163) 1 year ago
branch_selector_field.tmpl Use flex to align SVG and text (#25163) 1 year ago
choose.tmpl Implement Issue Config (#20956) 1 year ago
comment_tab.tmpl Improve markdown editor: width, height, preferred (#23895) 1 year ago
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 3 years ago
labels.tmpl Button and color enhancements (#24989) 1 year ago
list.tmpl Button and color enhancements (#24989) 1 year ago
milestone_issues.tmpl Add Progressbar to Milestone Page (#25050) 1 year ago
milestone_new.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
milestones.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 1 year ago
navbar.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 1 year ago
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 1 year ago
new_form.tmpl Improve dropdown menus, remove inline styles (#24954) 1 year ago
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 1 year ago
search.tmpl Improve some Forms (#24878) 1 year ago
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 1 year ago
view_content.tmpl Button and color enhancements (#24989) 1 year ago
view_title.tmpl Use flex to align SVG and text (#25163) 1 year ago