summaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorKyle D <kdumontnu@gmail.com>2021-01-03 14:20:05 -0700
committerGitHub <noreply@github.com>2021-01-03 22:20:05 +0100
commit4092c044e0ccd0f3b6c9224c34fb7d1265851f4b (patch)
treef5c77715ccef6a51d7b01ef8f0adc24352545bc3 /templates/org
parent9cc5a89b8c8654e3e40686323572e69300807629 (diff)
downloadgitea-4092c044e0ccd0f3b6c9224c34fb7d1265851f4b.tar.gz
gitea-4092c044e0ccd0f3b6c9224c34fb7d1265851f4b.zip
Kd/fix team avatar aspect ratio (#14200)
* Add org member avatar to text data for fixed width * set min-width to prevent single char lines
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/member/members.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl
index 74d84b2e87..0952d12766 100644
--- a/templates/org/member/members.tmpl
+++ b/templates/org/member/members.tmpl
@@ -7,12 +7,12 @@
<div class="list">
{{ range .Members}}
<div class="item ui grid">
- <div class="ui one wide column">
+ <div class="ui four wide column" style="display: flex;">
{{avatar . 48}}
- </div>
- <div class="ui three wide column">
- <div class="meta"><a href="{{.HomeLink}}">{{.Name}}</a></div>
- <div class="meta">{{.FullName}}</div>
+ <div>
+ <div class="meta"><a href="{{.HomeLink}}">{{.Name}}</a></div>
+ <div class="meta">{{.FullName}}</div>
+ </div>
</div>
<div class="ui four wide column center">
<div class="meta">