Company page: the names-in-other-languages popover is far wider than its content #1243
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#1243
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
On a company's detail page, the icon after the name (tooltip "Names in other languages") opens a popover listing the company's names by language. The popover is much wider than its content needs.
Where
src/postulo/templates/jobs/company_detail.html, the#company-namespopover: it has a fixedw-80(20 rem), and each row reserves aw-28column for the language name, whatever the names are. A company with one or two short names still gets the full width, and the long lists (the large companies carry 70 to 80 names) are not helped by it either.Expected
The popover is as wide as its widest row (language column plus the longest name), within the viewport, and long names wrap instead of widening it. It stays usable at 320 px and mirrors in right-to-left languages.
Notes