Skip to content

Commit 30cca78

Browse files
Slightly less hacky - using margin instead of a nonbreaking space
1 parent b3d3c44 commit 30cca78

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Cardinal.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export const WithIcon = () => (
187187
count={14}
188188
TextWrapper={() => (
189189
<span>
190-
Changes&nbsp;
190+
Changes
191191
<Icon icon="question" aria-label="More info" />
192192
</span>
193193
)}

src/components/Cardinal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const CardinalInner = styled.div<CardinalInnerProps>`
8080
svg {
8181
width: 12px;
8282
height: 12px;
83-
margin: 1px 0;
83+
margin: 1px 0 0 4px;
8484
vertical-align: top;
8585
color: inherit;
8686
}

0 commit comments

Comments
 (0)