0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 10:01:50 +01:00
gitea/web_src/js
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
..
components Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
features Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
modules Change form actions to fetch for submit review box (#25219) 2023-06-14 16:01:37 +08:00
render
standalone
test
utils
webcomponents
bootstrap.js
index.js Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
jquery.js
svg.js
svg.test.js
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) 2023-06-12 15:44:53 +00:00
utils.test.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00