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
markup
modules
render
standalone Add new JS linter rules () 2021-11-22 16:19:01 +08:00
test
utils
webcomponents Refactor locale number () 2023-04-17 11:37:23 +08:00
bootstrap.js Improve template system and panic recovery () 2023-05-04 14:36:34 +08:00
index.js Redesign Scoped Access Tokens () 2023-06-04 20:57:16 +02:00
jquery.js
svg.js Add show timestamp/seconds and fullscreen options to action page () 2023-05-30 20:38:55 +00:00
svg.test.js
utils.js Remove hacky patch for "safari emoji glitch fix" () 2023-06-12 15:44:53 +00:00
utils.test.js Fix webauthn regression and improve code () 2023-06-07 19:20:18 +08:00