diff options
author | Volpeon <git@volpeon.ink> | 2024-11-21 18:42:38 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-21 18:42:38 +0100 |
commit | f4305b21633cecdf38f1bb16ed5253ab0870769a (patch) | |
tree | 571a0152ac324adc5e7d0aa2f17012d61a35f798 /src/scopes | |
parent | Body scope: Limit paragraph width (diff) | |
download | iro-design-f4305b21633cecdf38f1bb16ed5253ab0870769a.tar.gz iro-design-f4305b21633cecdf38f1bb16ed5253ab0870769a.tar.bz2 iro-design-f4305b21633cecdf38f1bb16ed5253ab0870769a.zip |
Fix body scope
Diffstat (limited to 'src/scopes')
-rw-r--r-- | src/scopes/_body.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/scopes/_body.scss b/src/scopes/_body.scss index 4d413e3..9091117 100644 --- a/src/scopes/_body.scss +++ b/src/scopes/_body.scss | |||
@@ -12,7 +12,8 @@ | |||
12 | @include bem.scope('body') { | 12 | @include bem.scope('body') { |
13 | font-size: props.get(vars.$font-size); | 13 | font-size: props.get(vars.$font-size); |
14 | 14 | ||
15 | p { | 15 | p, |
16 | li { | ||
16 | max-inline-size: props.get(vars.$paragraph--max-inline-size); | 17 | max-inline-size: props.get(vars.$paragraph--max-inline-size); |
17 | margin-block-start: props.get(vars.$paragraph--margin-bs); | 18 | margin-block-start: props.get(vars.$paragraph--margin-bs); |
18 | } | 19 | } |
@@ -34,6 +35,10 @@ | |||
34 | } | 35 | } |
35 | } | 36 | } |
36 | 37 | ||
38 | hr { | ||
39 | margin-block: calc(2 * props.get(vars.$paragraph--margin-bs)); | ||
40 | } | ||
41 | |||
37 | ul, | 42 | ul, |
38 | ol, | 43 | ol, |
39 | table, | 44 | table, |