如何在href a标记和文本之间留出空格



我在React中使用Material UI,并试图在<标签和前后的一些文本,此刻没有空间,它彼此融合在一起。

<Typography style={{ fontSize: 14, textAlign: "justify" }}>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever
since the 1500s, when an unknown printer took a galley of type and
scrambled it to make a type specimen book.
<a href={"https://www.lipsum.com/"}>Lorem Ipsum</a>
It has survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets
containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem
Ipsum.
</Typography>

这个怎么样

<Typography style={{ fontSize: 14, textAlign: "justify" }}>
<span >...your text<span>
<a style={{marginRight:"", marginLeft:"" }}></a>
<span >..your other text</span>
</Typography />

最新更新