aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-06-15 00:40:15 +0800
committerGitHub <noreply@github.com>2023-06-14 16:40:15 +0000
commit46c17c8029a539d276d25585fd6d54153ffa592f (patch)
tree07f40c7b209f4527a2f7a50ba12aab55984a02ed /templates/user
parent4c290e92090c0b37f3ff5de44f4f1f535668ca66 (diff)
downloadgitea-46c17c8029a539d276d25585fd6d54153ffa592f.tar.gz
gitea-46c17c8029a539d276d25585fd6d54153ffa592f.zip
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>
Diffstat (limited to 'templates/user')
0 files changed, 0 insertions, 0 deletions