1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/templates/devtest
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
..
fetch-action.tmpl Change form actions to fetch for submit review box (#25219) 2023-06-14 16:01:37 +08:00
fomantic-modal.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
gitea-ui.tmpl Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
list.tmpl Change form actions to fetch for submit review box (#25219) 2023-06-14 16:01:37 +08:00
tmplerr-sub.tmpl Show friendly 500 error page to users and developers (#24110) 2023-04-14 13:19:11 +08:00
tmplerr.tmpl Show friendly 500 error page to users and developers (#24110) 2023-04-14 13:19:11 +08:00