Skip to content

Commit

Permalink
fix: always indent blockquote, regardless of distanced
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Aug 2, 2021
1 parent 720995c commit 9e23974
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/blockquote/bem.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
.utrecht-blockquote {
font-family: var(--utrecht-document-font-family);
font-size: var(--utrecht-blockquote-font-size);
margin-inline-start: var(--utrecht-blockquote-margin-inline-start);
margin-inline-end: var(--utrecht-blockquote-margin-inline-end);
}

.utrecht-blockquote__attribution {
Expand All @@ -22,8 +24,6 @@
}

.utrecht-blockquote--distanced {
margin-inline-start: var(--utrecht-blockquote-margin-inline-start);
margin-inline-end: var(--utrecht-blockquote-margin-inline-end);
margin-block-start: var(--utrecht-blockquote-margin-block-start);
margin-block-end: var(--utrecht-blockquote-margin-block-end);
}
1 change: 1 addition & 0 deletions components/blockquote/bem.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Styling via the `.utrecht-blockquote` and `.utrecht-blockquote__content` class n
<Story
name="Blockquote"
args={{
distanced: true,
textContent: "The Quick Brown Fox Jumps Over The Lazy Dog",
}}
>
Expand Down

0 comments on commit 9e23974

Please sign in to comment.