fix: prevent form help text truncation in left panel (#2238)

Fixes #2225

Added word-wrap and overflow-wrap properties to .qf-help to ensure
long helper text wraps properly instead of being truncated in the
narrow left panel.

Changes:
- Added word-wrap: break-word to .qf-help
- Added overflow-wrap: break-word to .qf-help
- Added line-height: 1.4 for better readability of wrapped text

The fix ensures helper text remains fully readable in the question
form without requiring panel width changes or tooltips.
This commit is contained in:
Nicholas-Xiong
2026-05-19 17:50:17 +08:00
committed by GitHub
parent 726a9c921a
commit 643cfee8e9
+8 -1
View File
@@ -14487,7 +14487,14 @@ button.ghost.mcp-copy-btn:hover:not(:disabled) {
gap: 4px;
}
.qf-required { color: var(--accent); }
.qf-help { font-size: 11px; color: var(--text-muted); margin-top: -2px; }
.qf-help {
font-size: 11px;
color: var(--text-muted);
margin-top: -2px;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.4;
}
.qf-options {
display: flex;
flex-wrap: wrap;