Skip to content

Commit

Permalink
fix(mobile): text cropped in about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 4, 2025
1 parent dd8e73d commit d309694
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/public/app/widgets/dialogs/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit d309694

Please sign in to comment.