Company page: the names-in-other-languages popover is far wider than its content #1243

Open
opened 2026-11-13 10:19:21 +00:00 by tiagoagueda · 0 comments
Owner

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-names popover: it has a fixed w-80 (20 rem), and each row reserves a w-28 column 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

  • Check it in light and dark, and with a company that has one name, a few, and about eighty.
  • A browser test should assert the popover's width is bounded by its content, not a fixed value.
## 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-names` popover: it has a fixed `w-80` (20 rem), and each row reserves a `w-28` column 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 - Check it in light and dark, and with a company that has one name, a few, and about eighty. - A browser test should assert the popover's width is bounded by its content, not a fixed value.
tiagoagueda added this to the 0.6.0 milestone 2026-11-13 10:19:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo#1243
No description provided.