From c1f0aa7d816c2031b5858ad25436db7831d69428 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Mon, 16 Jul 2018 12:31:37 -0400 Subject: [PATCH] table and list styles --- scss/elements/_tables.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/scss/elements/_tables.scss b/scss/elements/_tables.scss index 243aefea..6fc3cd51 100644 --- a/scss/elements/_tables.scss +++ b/scss/elements/_tables.scss @@ -3,3 +3,28 @@ * @see https://designsystem.digital.gov/components/tables/ * @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_table.scss */ + +table { + @include panel-margin; + margin-top: 0; + + tr { + th { + @include block-list-header; + } + + td { + @include block-list-item; + } + + &:last-child { + td { + border-bottom-style: solid; + } + } + + .align-right { + text-align: right; + } + } +}