From cb6e1d48a6764e5bf6b17be2cf591d0e4e9d1882 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 13 Nov 2017 14:54:17 +0800 Subject: Add Table with horizontal scroll support #333 --- docs/dist/spectre.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docs/dist/spectre.css') 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; -- cgit v1.3.1-23-gd82d