summaryrefslogtreecommitdiffstats
path: root/src/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-16 09:26:39 +0200
committerVolpeon <git@volpeon.ink>2022-06-16 09:26:39 +0200
commit3d0e5fa8fb7d9755b23b93fa8b6a82cc87cbf69e (patch)
treeea6aac901c36d76da522426c91595ec3a4cd4099 /src/scopes
parentAdded tables scope, fixed anchor styling (diff)
downloadiro-design-3d0e5fa8fb7d9755b23b93fa8b6a82cc87cbf69e.tar.gz
iro-design-3d0e5fa8fb7d9755b23b93fa8b6a82cc87cbf69e.tar.bz2
iro-design-3d0e5fa8fb7d9755b23b93fa8b6a82cc87cbf69e.zip
Fix table margin
Diffstat (limited to 'src/scopes')
-rw-r--r--src/scopes/_tables.scss6
1 files changed, 4 insertions, 2 deletions
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 @@
5@include iro.props-namespace('tables') { 5@include iro.props-namespace('tables') {
6 @include iro.props-store(( 6 @include iro.props-store((
7 --dims: ( 7 --dims: (
8 --pad-x: fn.global-dim(--size --175), 8 --pad-x: fn.global-dim(--size --175),
9 --pad-y: fn.global-dim(--size --125), 9 --pad-y: fn.global-dim(--size --125),
10 --margin-top: fn.global-dim(--paragraph --margin-top),
10 ), 11 ),
11 ), 'dims'); 12 ), 'dims');
12 13
@@ -19,6 +20,7 @@
19 20
20 @include iro.bem-scope(iro.props-namespace()) { 21 @include iro.bem-scope(iro.props-namespace()) {
21 table { 22 table {
23 margin-top: fn.dim(--margin-top);
22 border-spacing: 0; 24 border-spacing: 0;
23 border-collapse: separate; 25 border-collapse: separate;
24 } 26 }