Bug 42091 - Width of drop-down filters on item holdings table should be consistent
Summary: Width of drop-down filters on item holdings table should be consistent
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-13 13:13 UTC by Emmi Takkinen
Modified: 2026-03-13 14:26 UTC (History)
0 users

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;
}