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: style adjustment

shuaicf10ebef8694
diff --git a/ui/src/pages/Users/Personal/components/Reputation/index.tsx b/ui/src/pages/Users/Personal/components/Reputation/index.tsx
index 9f57714a..4e514a68 100644
--- a/ui/src/pages/Users/Personal/components/Reputation/index.tsx
+++ b/ui/src/pages/Users/Personal/components/Reputation/index.tsx
@@ -26,7 +26,7 @@ const Index: FC<Props> = ({ visible, data }) => {
className={`me-3 text-end ${
item.reputation > 0 ? 'text-success' : 'text-danger'
}`}
- style={{ width: '40px' }}>
+ style={{ width: '40px', minWidth: '40px' }}>
{item.reputation > 0 ? '+' : ''}
{item.reputation}
</div>