Hacker News new | ask | show | jobs
by flixic 3731 days ago
Technically very cool, but as a designer, I wouldn't want captions to behave like that. Center all, or left align all. Or if there really is a difference between short caption and longer description, differentiate also typographically, by changing font size, style and line height.
2 comments

Agreed, this would also look bad if a caption was just a few chars short of the width causing it to look indented compared to surrounding multiple line captions. Use left, right or centre, not a mishmash.
As a designer, too, I have no problem with this caption behaviour. I would chose a nicer font and fix the padding, but over all I really like the solution to a problem that I have certainly faced at some point.