Skip to content

Commit

Permalink
Merge pull request #3254 from JoinColony/fix/3253-motion-message-tag-…
Browse files Browse the repository at this point in the history
…margins

Prevent extra margin in DefaultMotion tags
  • Loading branch information
dit7ya authored Mar 22, 2022
2 parents b4da0d3 + f095685 commit 8118a3c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ const DefaultMotion = ({
return Object.values(MOTION_TAG_MAP).reduce((acc, object) => {
const { theme, colorSchema } = object as TagAppearance;
acc[object.tagName] = (
<Tag text={object.name} appearance={{ theme, colorSchema }} />
<span>
<Tag text={object.name} appearance={{ theme, colorSchema }} />
</span>
);
return acc;
}, {} as any);
Expand Down

0 comments on commit 8118a3c

Please sign in to comment.