forgejo/web_src/js/features
Giteabot 5191ab6445
Use flex to align SVG and text (#25163) (#25260)
Backport #25163 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
..
admin Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198) 2023-04-20 05:28:27 -04:00
comp Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
captcha.js
citation.js Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198) 2023-04-20 05:28:27 -04:00
clipboard.js Use clippie module to copy to clipboard (#23801) 2023-04-02 17:25:36 +08:00
codeeditor.js Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
colorpicker.js
common-global.js Remove hacky patch for "safari emoji glitch fix" (#25208) (#25211) 2023-06-12 18:16:04 +02:00
common-issue-list.js Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
common-issue-list.test.js Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
common-organization.js Fix Org edit page bugs: renaming detection, maxlength (#24161) 2023-04-17 11:35:57 -04:00
contextpopup.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
copycontent.js Add two eslint plugins (#24776) 2023-05-18 09:14:31 +08:00
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js Scroll collapsed file into view (#23702) 2023-04-05 07:51:42 +08:00
heatmap.js Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
imagediff.js
install.js
notification.js Rework notifications list (#24812) 2023-05-25 02:31:26 +00:00
org-team.js Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
pull-view-file.js Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
repo-branch.js Display warning when user try to rename default branch (#24512) 2023-05-04 22:54:38 +00:00
repo-code.js Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
repo-code.test.js
repo-commit.js
repo-common.js Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198) 2023-04-20 05:28:27 -04:00
repo-diff-filetree.js
repo-diff.js Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
repo-editor.js Add popup to hashed comments/pull requests/issues in file editing/adding preview tab (#24040) 2023-04-11 23:03:23 -04:00
repo-findfile.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
repo-findfile.test.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
repo-graph.js
repo-home.js Sort repo topic labels by name (#24123) 2023-04-14 15:29:05 -04:00
repo-issue-content.js Use flex to align SVG and text (#25163) (#25260) 2023-06-14 13:21:48 -04:00
repo-issue-list.js Add the ability to pin Issues (#24406) 2023-05-25 15:17:19 +02:00
repo-issue-pr-form.js
repo-issue.js Fix strange UI behavior of cancelling dismiss review modal (#25172) 2023-06-11 02:54:30 +00:00
repo-legacy.js Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
repo-migrate.js Make repo migration cancelable and fix various bugs (#24605) 2023-05-11 08:25:46 +00:00
repo-migration.js
repo-projects.js Add two eslint plugins (#24776) 2023-05-18 09:14:31 +08:00
repo-release.js Update JS dependencies, add new eslint rules (#24597) 2023-05-09 02:35:49 +00:00
repo-settings.js Support for status check pattern (#24633) 2023-05-17 16:11:13 +08:00
repo-template.js Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
repo-unicode-escape.js Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
repo-wiki.js Fix EasyMDE toolbar (#24489) 2023-05-03 01:23:39 -04:00
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
user-auth-webauthn.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00
user-auth.js Fix OAuth loading state (#24788) 2023-05-18 11:50:11 +00:00
user-settings.js