From 3d0e5fa8fb7d9755b23b93fa8b6a82cc87cbf69e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Jun 2022 09:26:39 +0200 Subject: Fix table margin --- src/scopes/_tables.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/scopes/_tables.scss') diff --git a/src/scopes/_tables.scss b/src/scopes/_tables.scss index e8135eb..1907bac 100644 --- a/src/scopes/_tables.scss +++ b/src/scopes/_tables.scss @@ -5,8 +5,9 @@ @include iro.props-namespace('tables') { @include iro.props-store(( --dims: ( - --pad-x: fn.global-dim(--size --175), - --pad-y: fn.global-dim(--size --125), + --pad-x: fn.global-dim(--size --175), + --pad-y: fn.global-dim(--size --125), + --margin-top: fn.global-dim(--paragraph --margin-top), ), ), 'dims'); @@ -19,6 +20,7 @@ @include iro.bem-scope(iro.props-namespace()) { table { + margin-top: fn.dim(--margin-top); border-spacing: 0; border-collapse: separate; } -- cgit v1.2.3-70-g09d2