aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/member/members.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-04 06:49:09 +0200
committerGitHub <noreply@github.com>2023-04-04 06:49:09 +0200
commit62a9052075e6042be7b4af9502ba396871e557d3 (patch)
tree3277b58057fef3829be8040563601cad7ac05e9a /templates/org/member/members.tmpl
parent2c585d62a4ebbb52175b8fd8697458ae1c3b2937 (diff)
downloadgitea-62a9052075e6042be7b4af9502ba396871e557d3.tar.gz
gitea-62a9052075e6042be7b4af9502ba396871e557d3.zip
Org pages style fixes (#23901)
Few fixes/enhancements around org pages: Use flexbox for member and repo lists and tweak rendering of tabs and list: <img width="765" alt="Screenshot 2023-04-03 at 22 54 24" src="https://user-images.githubusercontent.com/115237/229625716-92a834c3-9121-4729-8b9b-3a3973cf9a91.png"> <img width="771" alt="Screenshot 2023-04-03 at 22 55 15" src="https://user-images.githubusercontent.com/115237/229625719-acc08ce8-4489-44a6-a9b9-e36755c55b1d.png"> Vertically center remove/leave buttons, add link to avatar: <img width="1223" alt="Screenshot 2023-04-03 at 21 51 20" src="https://user-images.githubusercontent.com/115237/229612616-b662b795-e754-41a1-a77a-381c267e6104.png">
Diffstat (limited to 'templates/org/member/members.tmpl')
-rw-r--r--templates/org/member/members.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl
index 0eae60fbfc..511d333c29 100644
--- a/templates/org/member/members.tmpl
+++ b/templates/org/member/members.tmpl
@@ -8,7 +8,7 @@
{{range .Members}}
<div class="item ui grid">
<div class="ui four wide column" style="display: flex;">
- {{avatar $.Context . 48}}
+ <a href="{{.HomeLink}}">{{avatar $.Context . 48}}</a>
<div>
<div class="meta"><a href="{{.HomeLink}}">{{.Name}}</a></div>
<div class="meta">{{.FullName}}</div>
@@ -55,7 +55,7 @@
{{end}}
</div>
{{end}}
- <div class="ui three wide column">
+ <div class="ui three wide column gt-df gt-ac gt-je">
<div class="text right">
{{if eq $.SignedUser.ID .ID}}
<form>