fix: chat content height

This commit is contained in:
jialin
2026-04-09 12:14:36 +08:00
committed by jialin
parent a2b0236ea3
commit 7beb5756f7
@@ -39,7 +39,7 @@ const MultiCompare: React.FC<MultiCompareProps> = ({ modelList, loaded }) => {
const modelsCounterMap = useRef<Record<string, number>>({});
const modelRefs = useRef<any>({});
const chatListScrollRef = useRef<any>(null);
const boxHeight = `calc(100vh - ${HEADER_HEIGHT}px)`;
const boxHeight = `calc(100vh - ${HEADER_HEIGHT}px - 2px - var(--page-header-height) - var(--page-content-padding) - var(--page-content-padding))`;
const [actions, setActions] = useState<MessageItemAction[]>([
'upload',
'delete',