diff --git a/apps/client/src/widgets/dialogs/about.css b/apps/client/src/widgets/dialogs/about.css index 06e4d9f47c..54f0a8a4b9 100644 --- a/apps/client/src/widgets/dialogs/about.css +++ b/apps/client/src/widgets/dialogs/about.css @@ -173,10 +173,12 @@ /* TODO: move to global styles */ .property-sheet-table { + display: table; border-spacing: 0 2px; border-collapse: separate; - tr { + dl { + display: table-row; --_br: 8px; background: var(--card-background-color); @@ -190,17 +192,18 @@ } } - td { + dt, dd { + display: table-cell; padding: 10px 16px; vertical-align: top; + } - &:first-child { - white-space: nowrap; - color: var(--muted-text-color); - } + dt { + white-space: nowrap; + color: var(--muted-text-color); + } - &:last-child { - width: 100%; - } + dl { + width: 100%; } } \ No newline at end of file diff --git a/apps/client/src/widgets/dialogs/about.tsx b/apps/client/src/widgets/dialogs/about.tsx index 4cc3963864..e15dd31902 100644 --- a/apps/client/src/widgets/dialogs/about.tsx +++ b/apps/client/src/widgets/dialogs/about.tsx @@ -79,10 +79,10 @@ export default function AboutDialog() { triliumnotes.org - - - - - - - - - - - - - - - -
{t("about.version_label")} +
+
+
{t("about.version_label")}
+
{t("about.version", { appVersion: appInfo?.appVersion, dbVersion: appInfo?.dbVersion, @@ -99,27 +99,27 @@ export default function AboutDialog() { }} />
-
{t("about.contributors_label")} + + + +
+
{t("about.contributors_label")}
+
{t("about.contributor_full_list")} -
{t("about.data_directory")} + + + +
+
{t("about.data_directory")}
+
{appInfo?.dataDirectory && ()} -
+ + +