Skip to content

Commit cfe28f0

Browse files
authored
fix(web): model picker opens at its final height instead of shrinking (#26881)
1 parent c61a51d commit cfe28f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ModelPickerContent.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function adjacentModelPickerProvider(input: {
162162
}
163163

164164
const EMPTY_MODEL_JUMP_LABELS = new Map<string, string>();
165-
const MODEL_LIST_ESTIMATED_ITEM_SIZE = 52;
165+
const MODEL_LIST_ESTIMATED_ITEM_SIZE = 32;
166166
// Rendered heights in `--spacing` units. Chrome is the search box and list padding, plus a 1px border.
167167
const ONE_LINE_ROW_UNITS = 8;
168168
const TWO_LINE_ROW_UNITS = 12;

0 commit comments

Comments
 (0)