Hook up size field on link detail page and fix text preview styles.

Mostly curious if there are any better ideas about how to avoid the circular imports and if someone thinks these deserve tests (which I kinda don't).