navidrome / navidrome

๐ŸŽงโ˜๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic
https://www.navidrome.org
GNU General Public License v3.0
10.16k stars 783 forks source link

[Bug]: playlist comment spoiler causes misplacement of playlist info #2992

Closed metalheim closed 2 weeks ago

metalheim commented 2 weeks ago

I confirm that:

Version

0.52.0-SNAPSHOT (7c5eec71)

Current Behavior

The PR #2973 works well on long playlist comments, but if you have a short playlist comment that doesnt need a spoiler (f.e. just one line), it causes the "Playlist info" (# of songs, length and size) to float right and wrap line. That looks ugly.

Short playlist comment (1 line) image

Long playlist comment (OK) image

Expected Behavior

Playlist info to not look ugly and dont wrap lines. Maybe just put it above the comment to solve the issue easily?

Steps To Reproduce

No response

Environment

No response

How Navidrome is installed?

Docker

Configuration

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

metalheim commented 2 weeks ago

@TimHi could you please take a stab at fixing this?

Thanks for your efforts!

TimHi commented 2 weeks ago

That is indeed ugly. ๐Ÿ‘€I have the next week off, I'll probably find time to look into it.

deluan commented 2 weeks ago

No worries, was a quick fix.

metalheim commented 2 weeks ago

Lovely, thanks!