WP-Tiles icon indicating copy to clipboard operation
WP-Tiles copied to clipboard

Single row tiles missing byline title

Open gavuk opened this issue 6 years ago • 0 comments

I've discovered a bug on a few sites where a single row tile has no content inside the .wp-tiles-byline-wrapper div. It looks like this is because the height of the div is set to 12%, making it too small to properly display the content. I believe the jQuery dotdotdot() function then removes the content since it doesn't fit.

I've put a fix in place on the sites I was looking at the changes the height of .wp-tiles-byline-wrapper from a % value to a vh value. I'm happy to push my changes for review.

The change is in assets/css/wp-tiles.css .wp-tiles-byline{max-height:10vh !important;min-height:3rem;}

gavuk avatar Jan 30 '19 15:01 gavuk