Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: pinned qeustions style optimization

shuaid1141471ab4c
diff --git a/ui/src/components/PinList/index.tsx b/ui/src/components/PinList/index.tsx
index 08f1813d..be60b9a9 100644
--- a/ui/src/components/PinList/index.tsx
+++ b/ui/src/components/PinList/index.tsx
@@ -45,14 +45,14 @@ const PinList: FC<IProps> = ({ data }) => {
action
as="li"
key={item.id}
- className="rounded border-top p-0"
+ className="border-0 p-0"
style={{
minWidth: '238px',
width: `${100 / data.length}%`,
}}>
<NavLink
to={pathFactory.questionLanding(item.id, item.url_title)}
- className="h-100 d-flex flex-column justify-content-between p-3">
+ className="border rounded h-100 d-flex flex-column justify-content-between p-3">
<h6 className="text-wrap link-dark text-break text-truncate-2">
{item.title}
{item.status === 2 ? ` [${t('closed')}]` : ''}