Change default vertical alignment of GFM table cells to top
Problem
Right now it's hard to run your eye along with embedded tables at GitLab. Our current vertical alignment is middle
, which is the default for the markdown language.
As the cell text gets longer, it's even harder to follow it with your eye. Content in some cells may not even be initially in view when other cell content has a large height.
Proposal
- Turn on top to be the default alignment
- In the future, allow picking the alignment, once markown supports it. Track issue in GitHub
A left to right, top to bottom reading order will provide the best readability for tables with longer content (F-pattern). For tables where each cell has only one line of content it will make almost no difference and be similar to the current behavior.
Examples of alignment:
GitLab GFM (current) vertical-align: middle
GitLab GFM (proposed) with vertical-align: top
Reference: Apple (top) vs Google (bottom):
Edited by Jeremy Elder