pull down to refresh

10 sats \ 2 replies \ @ek OP 13 Sep
seems like we're missing some margin between text and media content
reply
I usually put a line break between.
reply
Yeah it's tricky. We have 3 different media "modes":
  • alone, surrounded by no other media or content (double newlines between it and other non-media content)
  • adjacent to other media each in their own p tags (double newlines between them)
  • adjacent to other media all in the same p tag (spaces or single newlines between them)
The post above covers an edge case I didn't cover (it's very tricky without preprocessing): non-media elements in the same p tag as the media.
Good one! Testing video upload ![](https://m.stacker.news/51741)
reply