mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 18:36:39 +02:00
client/about dialog: add a full list link, improve layout
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -18,6 +18,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.contributor-list {
|
||||
a, span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
@@ -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) ? ", " : ". "}
|
||||
</>
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user