Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile): text cropped in about dialog

Elian Dorand3096940f668
diff --git a/src/public/app/widgets/dialogs/about.js b/src/public/app/widgets/dialogs/about.js
index f7ddea0834..15b011bdfe 100644
--- a/src/public/app/widgets/dialogs/about.js
+++ b/src/public/app/widgets/dialogs/about.js
@@ -15,7 +15,7 @@ const TPL = `
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="${t('about.close')}"></button>
</div>
<div class="modal-body">
- <table class="table table-borderless text-nowrap">
+ <table class="table table-borderless">
<tr>
<th>${t("about.homepage")}</th>
<td><a href="https://github.com/TriliumNext/Notes" class="external">https://github.com/TriliumNext/Notes</a></td>
@@ -50,7 +50,14 @@ const TPL = `
</div>
</div>
</div>
-</div>`;
+</div>
+
+<style>
+.about-dialog a {
+ word-break: break-all;
+}
+</style>
+`;
export default class AboutDialog extends BasicWidget {
doRender() {