Skip to content

Build your personal knowledge base with Trilium Notes

client/about dialog: add a full list link, improve layout

Adorian Doran129f1ccd8d9d
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 8f9e559e30..a7aa1777f7 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -8,6 +8,7 @@
"lead-dev": "lead developer",
"original-dev": "original developer"
},
+ "contributor_full_list": "See the full list",
"data_directory": "Data directory:",
"donate": "Donate"
},
diff --git a/apps/client/src/widgets/dialogs/about.css b/apps/client/src/widgets/dialogs/about.css
index d6113c9bc1..d17e4f6d07 100644
--- a/apps/client/src/widgets/dialogs/about.css
+++ b/apps/client/src/widgets/dialogs/about.css
@@ -18,6 +18,12 @@
}
}
+ .contributor-list {
+ a, span {
+ white-space: nowrap;
+ }
+ }
+
footer {
display: flex;
justify-content: center;
diff --git a/apps/client/src/widgets/dialogs/about.tsx b/apps/client/src/widgets/dialogs/about.tsx
index 1978e33eec..498d196cf0 100644
--- a/apps/client/src/widgets/dialogs/about.tsx
+++ b/apps/client/src/widgets/dialogs/about.tsx
@@ -77,8 +77,11 @@ export default function AboutDialog() {
</CardSection>
<CardSection>
<div>{t("about.contributors_label")}</div>
- <div>
+ <div className="contributor-list use-tn-links">
<Contributors data={contributors as ContributorList} />
+ <a href="https://github.com/TriliumNext/Trilium/graphs/contributors" target="_blank">
+ {t("about.contributor_full_list")}
+ </a>
</div>
</CardSection>
<CardSection>
@@ -123,7 +126,7 @@ function Contributors(params: {data: ContributorList}) {
<ContributorListItem data={c} />
{/* Add a comma between items */}
- {(index < array.length - 1) ? ", " : undefined}
+ {(index < array.length - 1) ? ", " : ". "}
</>
});
}