Skip Navigation

max-width / text-overflow needed for featured_property name

Travel Forums System Talk max-width / text-overflow needed for featured_property name

1. Posted by Sander (Moderator 4421 posts) 30w

On this thread, there's currently a featured property showing in the sidebar with name "City Central International Hostel" and "232 reviews". On current stable Gecko on Linux, those two strings overlap ("tel" and "232"). Would be good to give the name a max-width and text-overflow: ellipsis. (Which I was recently surprised to find out is extremely widely supported nowadays; IE9 and up.)

When you're touching that CSS anyway, would be even nicer to make those two strings share the same baseline, rather than having the number of reviews sit a couple of pixels higher.

Post 2 was removed by a moderator