0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-25 16:20:27 +01:00
gitea/web_src/js/components
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
..
.eslintrc.yaml
ActionRunStatus.vue
ActivityHeatmap.vue
ContextPopup.vue
DashboardRepoList.vue Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
DiffFileList.vue
DiffFileTree.vue Show file tree by default (#25052) 2023-06-02 23:39:01 +08:00
DiffFileTreeItem.vue
PullRequestMergeForm.vue Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
RepoActionView.test.js
RepoActionView.vue Fix fullscreen for action (#25200) 2023-06-12 10:18:01 +00:00
RepoActivityTopAuthors.vue
RepoBranchTagSelector.vue Use flex to align SVG and text (#25163) 2023-06-14 16:40:15 +00:00
ScopedAccessTokenSelector.vue Change access token UI to select dropdowns (#25109) 2023-06-13 15:55:48 +08:00