forgejo/templates/devtest
Giteabot 5191ab6445
Use flex to align SVG and text () ()
Backport  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>
2023-06-14 13:21:48 -04:00
..
fomantic-modal.tmpl Improve some modal action buttons () 2023-04-24 07:08:59 -04:00
gitea-ui.tmpl Use flex to align SVG and text () () 2023-06-14 13:21:48 -04:00
list.tmpl Button and color enhancements () () 2023-06-11 02:13:08 +00:00
tmplerr-sub.tmpl Show friendly 500 error page to users and developers () 2023-04-14 13:19:11 +08:00
tmplerr.tmpl Show friendly 500 error page to users and developers () 2023-04-14 13:19:11 +08:00