From 96241487d587203a0cf286ade763694080a7c621 Mon Sep 17 00:00:00 2001 From: Jeff Stieler Date: Wed, 5 Jan 2022 12:30:25 -0700 Subject: [PATCH] Style tables on my account. --- .../legacy/css/twenty-twenty-two.scss | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/plugins/woocommerce/legacy/css/twenty-twenty-two.scss b/plugins/woocommerce/legacy/css/twenty-twenty-two.scss index 660792789e4..de3b89a12df 100644 --- a/plugins/woocommerce/legacy/css/twenty-twenty-two.scss +++ b/plugins/woocommerce/legacy/css/twenty-twenty-two.scss @@ -644,6 +644,44 @@ $tt2-gray: #f7f7f7; > p:first-of-type { margin-block-start: 0px; } + + table { + + width: 100%; + text-align: left; + border-collapse: collapse; + + th, + td { + font-size: var(--wp--preset--font-size--small); + font-weight: normal; + } + + th { + padding-bottom: 1rem; + } + + tbody { + + tr { + border-top: 1px solid var( --wp--preset--color--black ); + } + + td { + a.button { + margin-bottom: 1rem; + border: none; + background: #ebe9eb; + color: var(--wp--preset--color--black); + + &:hover, + &:visited { + color: var(--wp--preset--color--black); + } + } + } + } + } } &.woocommerce-edit-address {