From 22c00b58aec40f9af9da981bab06c28fa56be077 Mon Sep 17 00:00:00 2001 From: Kate Latypova Date: Wed, 8 Nov 2023 12:25:16 +0100 Subject: [PATCH] feat: fix margin top in Table block and component (#676) --- src/blocks/Table/Table.scss | 2 +- src/components/Table/Table.scss | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/blocks/Table/Table.scss b/src/blocks/Table/Table.scss index 87ca0b7f8..93157f066 100644 --- a/src/blocks/Table/Table.scss +++ b/src/blocks/Table/Table.scss @@ -8,7 +8,7 @@ $block: '.#{$ns}table-block'; &__title { @include heading2(); - @include top-content-offset($offset: $indentM); + @include top-content-offset($offset: 0px); position: sticky; margin-right: $indentM; diff --git a/src/components/Table/Table.scss b/src/components/Table/Table.scss index 84dbf5fb9..279d08fb9 100644 --- a/src/components/Table/Table.scss +++ b/src/components/Table/Table.scss @@ -7,8 +7,6 @@ $block: '.#{$ns}table'; $root: &; @include text-size(body-2); - margin-top: $indentM; - &__table { width: 100%; overflow-x: auto;