Skip to content

Commit d7f4c8d

Browse files
committed
fix: correct spacing implementation
1 parent 9ccb69d commit d7f4c8d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/SharedLinks.astro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,15 @@ const byLabel = resolve({ en: 'by', ru: 'от' }, locale);
8686
return (
8787
<li>
8888
<a href={item.url} target="_blank">{resolve(item.text, locale)} ↗</a>
89-
{hasAuthor && <> {byLabel} {item.author} <a href={item.author_url} target="_blank">{item.author_text} ↗</a></>}
89+
{hasAuthor && (
90+
<>
91+
{' '}{byLabel}{' '}
92+
{item.author}{' '}
93+
<a href={item.author_url} target="_blank">
94+
{item.author_text}
95+
</a>
96+
</>
97+
)}
9098
</li>
9199
);
92100
})}

0 commit comments

Comments
 (0)