mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
use question.unconstrainedHeight again
This commit is contained in:
@@ -795,7 +795,10 @@ const ChoiceQuestionView: React.FC<ChoiceQuestionViewProps> = ({
|
|||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
// Modulo the fixed overflow (overhead + 4 lines reserved for list), use all remaining height.
|
// Modulo the fixed overflow (overhead + 4 lines reserved for list), use all remaining height.
|
||||||
const maxQuestionHeight = listHeight ? Math.max(5, listHeight - 4) : 15;
|
const maxQuestionHeight =
|
||||||
|
question.unconstrainedHeight && listHeight
|
||||||
|
? Math.max(5, listHeight - 4)
|
||||||
|
: 15;
|
||||||
|
|
||||||
const questionHeightLimit =
|
const questionHeightLimit =
|
||||||
listHeight && !isAlternateBuffer
|
listHeight && !isAlternateBuffer
|
||||||
|
|||||||
Reference in New Issue
Block a user