mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-21 09:39:03 +08:00
修复积分弹窗快捷选项文字挤成竖排的问题
This commit is contained in:
+11
-1
@@ -703,7 +703,15 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => {
|
|||||||
gap: "8px",
|
gap: "8px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span style={{ fontWeight: 600, fontSize: "14px" }}>
|
<span
|
||||||
|
style={{
|
||||||
|
fontWeight: 600,
|
||||||
|
fontSize: "14px",
|
||||||
|
whiteSpace: "nowrap",
|
||||||
|
wordBreak: "keep-all",
|
||||||
|
flexShrink: 0,
|
||||||
|
}}
|
||||||
|
>
|
||||||
{t("home.quickOptions")}
|
{t("home.quickOptions")}
|
||||||
</span>
|
</span>
|
||||||
<Divider style={{ flex: 1, margin: 0 }} />
|
<Divider style={{ flex: 1, margin: 0 }} />
|
||||||
@@ -737,6 +745,8 @@ export const Home: React.FC<{ canEdit: boolean }> = ({ canEdit }) => {
|
|||||||
size="small"
|
size="small"
|
||||||
onClick={() => handleReasonSelect(r)}
|
onClick={() => handleReasonSelect(r)}
|
||||||
style={{
|
style={{
|
||||||
|
whiteSpace: "nowrap",
|
||||||
|
wordBreak: "keep-all",
|
||||||
borderColor:
|
borderColor:
|
||||||
r.delta > 0
|
r.delta > 0
|
||||||
? "var(--ant-color-success, #52c41a)"
|
? "var(--ant-color-success, #52c41a)"
|
||||||
|
|||||||
Reference in New Issue
Block a user