From 91c5ab0767855446476df84fcc4e07743c6cddb3 Mon Sep 17 00:00:00 2001 From: Duy Tran Date: Tue, 18 Feb 2020 06:33:44 +0700 Subject: [PATCH] chore: change padding column to 1rem (#5366) --- .../src/components/data-table/_data-table-core.scss | 6 +++--- .../src/components/data-table/_data-table-sort.scss | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/components/src/components/data-table/_data-table-core.scss b/packages/components/src/components/data-table/_data-table-core.scss index c54e2b022dcc..20858b71cd1b 100644 --- a/packages/components/src/components/data-table/_data-table-core.scss +++ b/packages/components/src/components/data-table/_data-table-core.scss @@ -87,8 +87,8 @@ .#{$prefix}--data-table th, .#{$prefix}--data-table td { - padding-left: $spacing-04; - padding-right: $spacing-04; + padding-left: $spacing-05; + padding-right: $spacing-05; vertical-align: top; text-align: left; } @@ -120,7 +120,7 @@ color: $text-02; border-top: 1px solid $ui-01; border-bottom: 1px solid $ui-03; - padding: rem(14px) $spacing-04; + padding: rem(14px) $spacing-05; padding-bottom: rem(13px); & + td:first-of-type { diff --git a/packages/components/src/components/data-table/_data-table-sort.scss b/packages/components/src/components/data-table/_data-table-sort.scss index 95b7dd63e9ae..4e6db0387bdc 100644 --- a/packages/components/src/components/data-table/_data-table-sort.scss +++ b/packages/components/src/components/data-table/_data-table-sort.scss @@ -29,12 +29,12 @@ } .#{$prefix}--data-table--sort td { - padding-left: $spacing-03; - padding-right: $spacing-03; + padding-left: $spacing-05; + padding-right: $spacing-05; } .#{$prefix}--data-table--sort th:first-of-type .#{$prefix}--table-sort { - padding-left: $spacing-04; + padding-left: $spacing-05; } // ------------------------------------- @@ -49,7 +49,7 @@ justify-content: space-between; width: 100%; color: $text-01; - padding: 0 $spacing-03; + padding: 0 $spacing-05; height: 100%; background-color: $ui-03; transition: background-color $duration--fast-01 motion(entrance, productive),