forgejo/web_src/js
wxiaoguang 46c17c8029
Use flex to align SVG and text ()
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
..
components Use flex to align SVG and text () 2023-06-14 16:40:15 +00:00
features Use flex to align SVG and text () 2023-06-14 16:40:15 +00:00
markup Fix task list checkbox toggle to work with YAML front matter () 2023-06-13 14:44:47 +08:00
modules Change form actions to fetch for submit review box () 2023-06-14 16:01:37 +08:00
render
standalone
test
utils
webcomponents
bootstrap.js
index.js
jquery.js
svg.js
svg.test.js
utils.js
utils.test.js