diff options
Add Table with horizontal scroll support #333
1 files changed, 10 insertions, 3 deletions
| -rw-r--r-- | docs/dist/spectre.css | 13 |
diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css index 4cb1f1a..50926e5 100644 --- a/docs/dist/spectre.css +++ b/docs/dist/spectre.css @@ -509,15 +509,22 @@ dl dd { background: #f8f9fa; } -.table.table-hover tbody tr:hover { +.table tbody tr.active, +.table.table-striped tbody tr.active { background: #f0f1f4; } -.table tbody tr.active, -.table.table-striped tbody tr.active { +.table.table-hover tbody tr:hover { background: #f0f1f4; } +.table.table-scroll { + display: block; + overflow-x: auto; + padding-bottom: .75rem; + white-space: nowrap; +} + .table td, .table th { border-bottom: .05rem solid #e7e9ed; |