Created
October 29, 2014 07:27
-
-
Save todthomson/8356f649763e5f7abb42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .table-scrollable | |
| { | |
| width: 100%; | |
| border-collapse: collapse; | |
| border-spacing: 0; | |
| } | |
| .table-scrollable thead, | |
| .table-scrollable tbody, | |
| .table-scrollable tr, | |
| .table-scrollable td, | |
| .table-scrollable th | |
| { | |
| display: block; | |
| } | |
| .table-scrollable tr:after | |
| { | |
| content: ' '; | |
| display: block; | |
| visibility: hidden; | |
| clear: both; | |
| } | |
| .table-scrollable thead th | |
| { | |
| height: 32px; | |
| line-height: 32px; | |
| } | |
| .table-scrollable tbody | |
| { | |
| height: 200px; | |
| overflow-y: scroll; | |
| } | |
| .table-scrollable thead | |
| { | |
| width: 97%; | |
| width: calc(100% - 17px); | |
| } | |
| .table-scrollable tbody td, | |
| .table-scrollable thead th | |
| { | |
| width: 20%; | |
| float: left; | |
| } | |
| .table-scrollable tbody td:last-child, | |
| .table-scrollable thead th:last-child | |
| { | |
| border-right: none; | |
| } | |
| .table-scrollable > tbody > tr > td | |
| { | |
| padding: 13px 9px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment