#6243·navidrome

[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpoint

Author: brunopatuleiaCreated Sep 28, 2026Updated Sep 28, 2026

%23%23%23 Description In the AlbumDetails view, albums with multiple genres collapse to displaying only a single primary genre string (record.genre) whenever the viewport is narrower than the desktop lg breakpoint (< 1280px), even when there is ample horizontal whitespace to display all genre chips.

This creates a poor experience for users on ultrawide monitors using tiled/split browser panes, laptops, or half-screen windows.

%23%23%23 Code Location In the frontend AlbumDetails component:

javascript
const isDesktop = useMediaQuery((theme) => theme.breakpoints.up("lg"));

// Genre rendering:
r %3F <GenreList source="genres" /> : <Typography component="p">{record.genre}</Typography>

%23%23%23 Steps to Reproduce

  1. Tag an album with multiple genres (e.g. Folk Metal, Progressive Metal, Folk Rock).
  2. Open the album page in Navidrome Web UI.
  3. At full screen (≥1280px), all 3 genre pills are visible.
  4. Tile or resize the browser window below 1280px (e.g. 800px-1000px).
  5. The UI drops two genres and only shows Folk Metal, even though there is hundreds of pixels of unused whitespace next to it.

%23%23%23 Suggested Fix Instead of an all-or-nothing breakpoints.up("lg") check, render <GenreList source="genres" /> with standard CSS flex-wrap: wrap (or lower the collapse threshold to xs) so chips wrap naturally without arbitrary truncation.

%23%23%23 Environment

  • Navidrome Version: 0.64.2
  • OS/Deployment: Docker / Linux