From aba39826534c957abdbdf0a6a193bd0ffd8e0ba7 Mon Sep 17 00:00:00 2001 From: Nathan Selikoff Date: Thu, 11 Feb 2021 17:33:01 -0500 Subject: [PATCH] Use CSS child selectors for standard table tags to better isolate styles --- src/pivottable.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pivottable.css b/src/pivottable.css index e7b868f..97a9472 100644 --- a/src/pivottable.css +++ b/src/pivottable.css @@ -23,8 +23,8 @@ table.pvtTable { margin-left: 3px; font-family: Verdana; } -table.pvtTable thead tr th, -table.pvtTable tbody tr th { +table.pvtTable > thead > tr > th, +table.pvtTable > tbody > tr > th { background-color: #ebf0f8; border: 1px solid #c8d4e3; font-size: 8pt; @@ -38,7 +38,7 @@ table.pvtTable .pvtTotalLabel { text-align: right; } -table.pvtTable tbody tr td { +table.pvtTable > tbody > tr > td { color: #2a3f5f; padding: 5px; background-color: #fff;