mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
fix(playlists): wrap header action buttons instead of overflowing (#1153)
* fix(playlists): wrap header action buttons instead of overflowing The Playlists header action row was a fixed flex row, so at narrow widths (e.g. with the queue panel open) the buttons overflowed and were clipped off-screen. Add flex-wrap so they wrap, left-aligned, matching the Albums toolbar behaviour. * docs(changelog): add 1.49.0 entry for Playlists header button wrap (#1153)
This commit is contained in:
@@ -48,7 +48,7 @@ export default function PlaylistsHeader({
|
||||
? t('playlists.selectionCount', { count: selectedIds.size })
|
||||
: t('playlists.title')}
|
||||
</h1>
|
||||
<div style={{ display: 'flex', gap: '0.5rem', alignItems: 'center' }}>
|
||||
<div style={{ display: 'flex', gap: '0.5rem', alignItems: 'center', flexWrap: 'wrap', justifyContent: 'flex-start' }}>
|
||||
{policy.canEditPlaylist && !(selectionMode && selectedIds.size > 0) && (<>
|
||||
{creating ? (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user