Open Christopher-Hayes opened 5 months ago
Start a new pull request in StackBlitz Codeflow.
Unrelated - While I'd prefer to invite discussion and get sign-off from a maintainer before starting a PR, I did try the "Solve in Codeflow" button above. However, the setup script failed with:
│ ✔ Types generated in .nuxt
│ > @elk-zone/elk@0.14.0 prepare-translation-status /home/elk-zone/elk
│ > tsx scripts/prepare-translation-status.ts
│ TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/elk-zone/elk/scripts/prepare-translation-status.ts
...
│ Node.js 18.20.3
│ ELIFECYCLE Command failed with exit code 1.
│ Process exited with code: 1
└─ Failed in 17.6s at /home/elk-zone/elk
ELIFECYCLE Command failed with exit code 1
A similar problem exists on mobile. If the alt text is too long it gets cut off with an ellipsis. I think alt-texts should auto wrap like proposed here.
Description
Alt text on desktop screens is really wide, it's not good for readability.
Screenshots
Proposed Solution
If we match the max-width of Mastodon posts (600px), we get:
For longer alt text (like the 2nd screenshot), we could clamp it at 3 lines:
Code from proposed solution
Parent div:
Alt text p:
Related Issues
Alt text should be wrapped #2509