Skip to content

Commit e2000ef

Browse files
Kirill BolotskyPepe Cano
authored andcommitted
fix(components): fixed blockquote inline code styling
1 parent 1020762 commit e2000ef

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/shared/blockquote/blockquote.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ blockquote {
2222

2323
blockquote.doc-blockquote-warning {
2424
border-left: 2px solid $color-error;
25-
span {
25+
span[class='kicker'] {
2626
display: block;
2727
text-transform: uppercase;
2828
font-size: $font-size-xs;

src/components/shared/blockquote/blockquote.view.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ const Blockquote = ({ children, mod = 'default' }) => {
1010
warning: 'warning!',
1111
default: '',
1212
};
13-
return kickers[mod] ? <span>{kickers[mod]}</span> : kickers[mod];
13+
return kickers[mod] ? (
14+
<span className="kicker">{kickers[mod]}</span>
15+
) : (
16+
kickers[mod]
17+
);
1418
};
1519
return (
1620
<blockquote

0 commit comments

Comments
 (0)