summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/keys_ssh.tmpl
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-05-14 19:59:18 +0200
committerGitHub <noreply@github.com>2020-05-14 18:59:18 +0100
commit5df72ef7e791807600bc318c0282cf1b2e590b27 (patch)
tree0512377e3398cc563cc41e40212053cc41b482d2 /templates/user/settings/keys_ssh.tmpl
parent9249c810b883406e649586f6731a820c1c96b698 (diff)
downloadgitea-5df72ef7e791807600bc318c0282cf1b2e590b27.tar.gz
gitea-5df72ef7e791807600bc318c0282cf1b2e590b27.zip
Fix svg octicon-key placement (#11410)
Diffstat (limited to 'templates/user/settings/keys_ssh.tmpl')
-rw-r--r--templates/user/settings/keys_ssh.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/user/settings/keys_ssh.tmpl b/templates/user/settings/keys_ssh.tmpl
index f5c18d760e..fec68adc1f 100644
--- a/templates/user/settings/keys_ssh.tmpl
+++ b/templates/user/settings/keys_ssh.tmpl
@@ -20,7 +20,9 @@
{{$.i18n.Tr "settings.delete_key"}}
</button>
</div>
- <span class="{{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-content="{{$.i18n.Tr "settings.key_state_desc"}}" data-variation="inverted tiny"{{end}}>{{svg "octicon-key" 32}}</span>
+ <div class="left floated content">
+ <span class="{{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-content="{{$.i18n.Tr "settings.key_state_desc"}}" data-variation="inverted tiny"{{end}}>{{svg "octicon-key" 32}}</span>
+ </div>
<div class="content">
<strong>{{.Name}}</strong>
<div class="print meta">