Skip to content

Commit

Permalink
website: remove leading space (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsknn authored Nov 11, 2024
1 parent f9d9747 commit 7dbe288
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,12 @@ function NoteGeneric({
return (
<blockquote className={className} style={style}>
<div style={{ marginBottom: 20 }} />
<span style={{ fontFamily: 'emoji' }}>{icon}</span>
<span style={{ width: iconMargin ?? undefined, display: 'inline-block' }}></span>{' '}
{icon && (
<>
<span style={{ fontFamily: 'emoji' }}>{icon}</span>
<span style={{ width: iconMargin ?? undefined, display: 'inline-block' }}></span>{' '}
</>
)}
<div className="blockquote-content">{children}</div>
<div style={{ marginTop: 20 }} />
</blockquote>
Expand Down

0 comments on commit 7dbe288

Please sign in to comment.