Vertically align content in table cells by default

The previous removal of default table cell padding makes the default
alignment in content look weird. Adding a vertical alignment property
fixes this.

We previously removed the default padding because it did not play nice
with designs requiring less padding. Does the addition of vertical
alignment create a similar problem? I'd argue now. Padding cannot be
easily countered. Vertical alignment can easily be countered by
embedding div's in the cells with custom styling.
This commit is contained in:
Jasper Woudenberg 2018-04-30 14:08:04 +02:00
parent 6b9e35071b
commit 66c079f3cc

View File

@ -206,7 +206,8 @@ rowStyles =
cellStyles : List Style
cellStyles =
[]
[ verticalAlign middle
]
loadingContentStyles : List Style