Define text area so type size reduces for i8n and we can accommodate other scripts
Truncate wikidata description to 3 lines
Title starts at baseline if no description exists (do not reserve vertical whitespace for description)
This card doesn't seem to be ready for action unless we're changing how we lay out search results.
Specifically, the mocks show title text near the bottom of the image, but we're presently stacking search results such that they're overlapping (showing only the tops of images), so moving the title text down will mean our search results will just end up showing us images and *maybe* a sliver of the title text and no description.
We could handle this in a variety of ways - the easiest may be to animate the title/description from the top part of the image to the bottom part of the image when an article card is selected from a list of search results.
If it's ok I'll try this first :)
@mhrud yeah you are right about the animation parts but don’t worry about the animation for now - for the time being just make the list spacing larger and we will come back through to do animation in a separate ticket. I’ll get that queued up tomorrow.
This is turning out to be *far* greater than 2 story points:
- DTCoreText can be super tricky to work with when it comes to getting it to style the attributed string it generates. (For example, adjusting line spacing should not add a TON of vertical space above the first paragraph, but it does.)
- Also there are about a dozen changes that need to be made to make things look like the mocks, not just the 3 acceptance criteria.
@MBinder_WMF what do we do if a card ends up being waaaaay more story points than we estimated?