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

This commit is contained in:
Adorian Doran
2026-03-23 09:52:04 +02:00
parent f6e92c411e
commit 129f1ccd8d
3 changed files with 12 additions and 2 deletions

View File

@@ -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"
},

View File

@@ -18,6 +18,12 @@
}
}
.contributor-list {
a, span {
white-space: nowrap;
}
}
footer {
display: flex;
justify-content: center;

View File

@@ -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) ? ", " : ". "}
</>
});
}