Fix formatting for "About App" modal (#10132)

- Fix #10111
- Wrap text when the commit hash is too long

# Important Notes
None
This commit is contained in:
somebody1234 2024-05-30 17:22:06 +10:00 committed by GitHub
parent c0612dbd85
commit 014e7c141e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -79,16 +79,14 @@ export default function AboutModal() {
? getText('appNameDesktopEdition')
: getText('appNameCloudEdition')}
</div>
<table>
<table className="w-full table-fixed">
<tbody ref={textContainerRef}>
{versionsEntries.map(entry => {
const [textId, version] = entry
return (
<tr key={textId}>
<td className="whitespace-nowrap pr-cell-x align-text-top">
{getText(textId)}
</td>
<td>{version}</td>
<td className="w-20 whitespace-nowrap align-text-top">{getText(textId)}</td>
<td className="break-words">{version}</td>
</tr>
)
})}

View File

@ -492,6 +492,8 @@ body::before {
font-family: "M PLUS 1";
font-weight: 500;
font-feature-settings: normal;
font-size: 11.5px; /* text-xs */
color: rgb(0 0 0 / 60%); /* text-primary */
}
.enso-dashboard kbd,