]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Remove calculated width for scrollable tables 10897/head
authorNic Winn <nic.liamg@gmail.com>
Wed, 31 Jan 2018 19:14:23 +0000 (13:14 -0600)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2018 19:14:23 +0000 (13:14 -0600)
commit8fbe9c33d72d3332e56b82a23e2f820defbc7bf2
tree37c9e5bd3df5c754c6071a9c06b0a6da9ab2ed76
parentf2047e098d8858458dd82a7ca080f5c74f0d59aa
Remove calculated width for scrollable tables

width: auto on a table ready for scroll reverts the default where browsers calculate a width. This overrides a stylesheet declaring table width:100%. A table that needs scrolling somewhere between the medium and large breakpoints will collapse because the column width is set by the widest unbreakable content in the cells.
scss/components/_table.scss