google / google/material-design-lite
Why are mdl-data-table td right aligned by default?
Open
- Dominant language
- HTML
- Stars
- 32.2k
- Forks
- 4.9k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Are tables expected to hold numeric data generally? I saw that the MD guidelines recommend right align for numeric but left align for text. With this library by default it behaves for numeric data, one has to explicitly apply class mdl-data-table__cell--non-numeric for text, so I'm wondering why the default is not the other way around. In my case most of my tables hold text and I'm having to litter the code with the explicit classing. I wonder if this is not most peoples use case too? Thanks in advance.
Contributor guide
Assessment
This issue has not been assessed yet.