bakape / hydron

media tagger and organizer
GNU Lesser General Public License v3.0
95 stars 9 forks source link

Name field needs to be truncated to a set length #47

Closed Chiiruno closed 5 years ago

Chiiruno commented 6 years ago

Files with long names mess up the image positioning when viewing with tags/name. Probably should truncate the name with JS or in qtpl to a set limit so the image isn't way off to the side.

bakape commented 6 years ago

See https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/

On 2 September 2018 at 09:36, チルノ notifications@github.com wrote:

Files with long names mess up the image positioning when viewing with tags/name. Probably should truncate the name with JS or in qtpl to a set limit so the image isn't way off to the side.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bakape/hydron/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfPsFxXnVbNexktRlDuxxT6iZX7h9slks5uW3yCgaJpZM4WWfPw .

Chiiruno commented 6 years ago

Oh that's right, we've been over this before with the song title banner. Just need to make the name field within a class span, then maybe.