mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 09:12:33 +03:00
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:
parent
6b9e35071b
commit
66c079f3cc
@ -206,7 +206,8 @@ rowStyles =
|
||||
|
||||
cellStyles : List Style
|
||||
cellStyles =
|
||||
[]
|
||||
[ verticalAlign middle
|
||||
]
|
||||
|
||||
|
||||
loadingContentStyles : List Style
|
||||
|
Loading…
Reference in New Issue
Block a user