mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-07 19:26:44 +00:00
📝 Docs: 商店详情卡片添加宽度限制与文本省略 (#2473)
This commit is contained in:
@@ -80,7 +80,7 @@ export default function ResourceDetailCard({ resource }: Props) {
|
||||
src={authorAvatar}
|
||||
className="detail-card-avatar"
|
||||
decoding="async"
|
||||
></img>
|
||||
/>
|
||||
<div className="detail-card-title">
|
||||
<span className="detail-card-title-main">{resource.name}</span>
|
||||
<span className="detail-card-title-sub">{resource.author}</span>
|
||||
@@ -123,10 +123,7 @@ export default function ResourceDetailCard({ resource }: Props) {
|
||||
</div>
|
||||
<div className="detail-card-meta-item">
|
||||
<span>
|
||||
<FontAwesomeIcon
|
||||
className="fa-fw"
|
||||
icon={["fas", "scale-balanced"]}
|
||||
/>{" "}
|
||||
<FontAwesomeIcon fixedWidth icon={["fas", "scale-balanced"]} />{" "}
|
||||
{(pypiData && pypiData.info.license) || "无"}
|
||||
</span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user