From 2275255c2be33be4bcca278b03480eeac2020e63 Mon Sep 17 00:00:00 2001
From: Mohammad Rahmani <830394+kookma@users.noreply.github.com>
Date: Fri, 15 Jul 2022 21:50:40 +0430
Subject: [PATCH] Improve formatting of Contributors Section in Release Tiddler
(#6788)
* improve contributors section in release tiddler
* comments implemented
Jeremy comments were implemented
---
.../tw5.com/tiddlers/system/doc-macros.tid | 2 +-
.../tw5.com/tiddlers/system/doc-styles.tid | 38 +++++++++++++------
2 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/editions/tw5.com/tiddlers/system/doc-macros.tid b/editions/tw5.com/tiddlers/system/doc-macros.tid
index afd50815b..d4c4b9506 100644
--- a/editions/tw5.com/tiddlers/system/doc-macros.tid
+++ b/editions/tw5.com/tiddlers/system/doc-macros.tid
@@ -175,7 +175,7 @@ $credit$
<$list filter="[enlist<__usernames__>sort[]]" variable="username">
-
-] }}} class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">
addsuffix[.png?size=24]] }}} width="24" height="24"/> @<$text text=<>/>
+] }}} class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">
addsuffix[.png?size=64]] }}} width="64" height="64"/>@<$text text=<>/>
$list>
diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/system/doc-styles.tid
index 54099df49..b6d8eeee8 100644
--- a/editions/tw5.com/tiddlers/system/doc-styles.tid
+++ b/editions/tw5.com/tiddlers/system/doc-styles.tid
@@ -252,19 +252,33 @@ a.doc-deprecated-version.tc-tiddlylink {
<>
}
}
-
.doc-github-contributors {
list-style: none;
+ display: flex;
+ flex-wrap: wrap;
+}
+ol.doc-github-contributors li {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction:column;
+ width:82px;
+ height:82px;
+ margin:3px 3px 10px 3px;
+ text-decoration:none;
+}
+.doc-github-contributors a img {
+ border-radius: 50%;
+ background:#eee;
+}
+.doc-github-contributor-username {
+ display:inline-block;
+ font-size:12px;
+ font-weight:500;
+ text-align:center;
+ width:75px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
-.doc-github-contributors a {
- text-decoration: none;
- font-size: 14px;
- line-height: 18px;
- vertical-align: baseline;
-}
-
-.doc-github-contributors a img,
-.doc-github-contributors a .doc-github-contributor-username {
- vertical-align: middle;
-}