Bug 42091

Summary: Width of drop-down filters on item holdings table should be consistent
Product: Koha Reporter: Emmi Takkinen <emmi.takkinen>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Emmi Takkinen 2026-03-13 13:13:23 UTC
If e.g description of a one library is very long, drop-down filters in item holdings table stretch to match the width of this description. This can lead to table to stretch over screen especially if a lot of columns are displayed. Although this happens even without filters turned on but we shouldn't make the matter worse. We should add rule which makes drop-downs width to be consistent. 

To reproduce:
1. Modify one library description to be a lot longer than other descriptions.
2. Find an item with current or home library in this library.
3. Navigate to detail page of items biblio.
4. Click "Show filters" on holdings table.
=> Note that drop-down filters width is as long as your very long library description.
Comment 1 Owen Leonard 2026-03-13 14:26:15 UTC
I wonder if this is enough to accomplish what you're describing:

th .dt-select-filter {
  max-width: 12rem;
}