You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
components Use flex to align SVG and text (#25163) 2 years ago
features Use flex to align SVG and text (#25163) 2 years ago
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2 years ago
modules Change form actions to fetch for submit review box (#25219) 2 years ago
render Add PDF rendering via PDFObject (#24086) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
test Improve emoji and mention matching (#24255) 2 years ago
utils Add two eslint plugins (#24776) 2 years ago
webcomponents Refactor locale number (#24134) 2 years ago
bootstrap.js Improve template system and panic recovery (#24461) 2 years ago
index.js Redesign Scoped Access Tokens (#24767) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Add show timestamp/seconds and fullscreen options to action page (#24876) 2 years ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2 years ago
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) 2 years ago
utils.test.js Fix webauthn regression and improve code (#25113) 2 years ago