Skip to content

Commit ecbc0fe

Browse files
committed
fix(web): prevent legacy model picker layout shift
1 parent c30a6d9 commit ecbc0fe

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
@@ -777,7 +777,7 @@ export const ModelPickerContent = memo(function ModelPickerContent(props: {
777777
onLayout={updateModelListScrollFades}
778778
onScroll={updateModelListScrollFades}
779779
className={cn(
780-
"model-picker-list h-full overflow-x-hidden overscroll-y-contain py-1.5 [--fade-size:1.5rem]",
780+
"model-picker-list scrollbar-gutter-stable h-full overflow-x-hidden overscroll-y-contain py-1.5 [--fade-size:1.5rem]",
781781
showTopScrollFade && "model-picker-list-scroll-fade-top",
782782
showBottomScrollFade && "model-picker-list-scroll-fade-bottom",
783783
)}

0 commit comments

Comments
 (0)