-
-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Expected Behavior
Applying striped
to a <table>
should make the rows striped based on odd/even.
See this screenshot from 1.0.0 documentation:
Current Behavior
It does nothing. Table stays unstriped. highlight
does work as expected though. You can see it not working on the official docs too: https://materializecss.github.io/materialize/table.html (compare with v1.0.0 here: https://materializecss.com/table.html)
Screenshot from current documentation:
Possible Solution
The offending commit and the lines are here: 55e4854#diff-7d50d61152c39227f20098330f8691eee64bbf47d6f0e8df9225a30587b930d0L411-L420 ... it was removed. Don't see any reasoning behind it, but I might be missing context. Given that it's documented other wise, it's either a matter of removing that from the documentation or to bring those lines back in.
My current solution is to add those line into the application scss.
Steps to Reproduce (for bugs)
- Go to https://materializecss.github.io/materialize/table.html
- Click on "Striped" on the navigation on the right
Your Environment
- Version used: 1.1.0
- Browser Name and version: Chrome Version 105.0.5195.125 (Official Build) (x86_64
- Operating System and version (desktop or mobile): macOS 12.6
Thank you!