From 09a024e2db929c65edb0cf210ebbdc8426aa5224 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Thu, 13 Apr 2023 10:49:22 +0200 Subject: [PATCH] Restore table borders. --- .../edit-site/src/components/list/style.scss | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/edit-site/src/components/list/style.scss b/packages/edit-site/src/components/list/style.scss index f579a6763eb59..687927a680922 100644 --- a/packages/edit-site/src/components/list/style.scss +++ b/packages/edit-site/src/components/list/style.scss @@ -63,21 +63,22 @@ max-width: 960px; tr { - border-top: $border-width solid $gray-100; - margin: 0; - - &:first-child { - border-top: 0; - } - th, td { + border-top: $border-width solid $gray-100; padding: $grid-unit-20; @include break-medium() { padding: $grid-unit-30 $grid-unit-40; } } + &:first-child { + th, + td { + border-top: 0; + } + } + // Template. .edit-site-list-table-column:nth-child(1) { width: 58%; @@ -107,10 +108,10 @@ font-weight: 600; text-align: left; color: $gray-900; - border-top: none; - border-bottom: $border-width solid $gray-300; th { + border-top: 0; + border-bottom: $border-width solid $gray-300; font-weight: inherit; } }