From b43013e33e9996a7a8e17a56ee71528e636c4c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=A1=93=E6=A1=93?= Date: Tue, 7 Mar 2023 22:18:31 +0800 Subject: [PATCH] feat(table): use more flexible selector for `thead` and `tbody` --- src/partials/table.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/partials/table.scss b/src/partials/table.scss index a337bd4..4bbe684 100644 --- a/src/partials/table.scss +++ b/src/partials/table.scss @@ -8,10 +8,10 @@ table { padding: 6px 13px; border: 1.5px solid var(--xm-c-border-rev); } - thead > tr > th { + thead th { font-weight: 700; } - tbody > tr { + tbody tr { &:hover { background-color: var(--xm-c-shallowest); }