修复积分弹窗快捷选项文字挤成竖排的问题

This commit is contained in:
JSR
2026-03-18 18:29:02 +08:00
parent 0d2a299b06
commit 62c3f176d4
+11 -1
View File
@@ -703,7 +703,15 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => {
gap: "8px",
}}
>
<span style={{ fontWeight: 600, fontSize: "14px" }}>
<span
style={{
fontWeight: 600,
fontSize: "14px",
whiteSpace: "nowrap",
wordBreak: "keep-all",
flexShrink: 0,
}}
>
{t("home.quickOptions")}
</span>
<Divider style={{ flex: 1, margin: 0 }} />
@@ -737,6 +745,8 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => {
size="small"
onClick={() => handleReasonSelect(r)}
style={{
whiteSpace: "nowrap",
wordBreak: "keep-all",
borderColor:
r.delta > 0
? "var(--ant-color-success, #52c41a)"