Fix height
This commit is contained in:
@@ -237,7 +237,7 @@ export const AssistantsPage: React.FC = () => {
|
|||||||
const isNoneConfig = selectedAssistant?.configMode === 'none' || !selectedAssistant?.configMode;
|
const isNoneConfig = selectedAssistant?.configMode === 'none' || !selectedAssistant?.configMode;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex h-[calc(100vh-8rem)] gap-6 animate-in fade-in py-4">
|
<div className="flex h-full min-h-0 gap-6 animate-in fade-in">
|
||||||
{/* LEFT COLUMN: List */}
|
{/* LEFT COLUMN: List */}
|
||||||
<div className="w-80 flex flex-col gap-4 shrink-0">
|
<div className="w-80 flex flex-col gap-4 shrink-0">
|
||||||
<div className="flex items-center justify-between px-1 text-white">
|
<div className="flex items-center justify-between px-1 text-white">
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ export const AutoTestPage: React.FC = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex h-[calc(100vh-8rem)] gap-6 animate-in fade-in py-4">
|
<div className="flex h-full min-h-0 gap-6 animate-in fade-in">
|
||||||
{/* Left List */}
|
{/* Left List */}
|
||||||
<div className="w-80 flex flex-col gap-4 shrink-0">
|
<div className="w-80 flex flex-col gap-4 shrink-0">
|
||||||
<h2 className="text-xl font-bold tracking-tight text-white">测试助手列表</h2>
|
<h2 className="text-xl font-bold tracking-tight text-white">测试助手列表</h2>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export const WorkflowsPage: React.FC = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-6 animate-in fade-in py-4 pb-10">
|
<div className="space-y-6 animate-in fade-in">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<h1 className="text-2xl font-bold tracking-tight text-white">工作流</h1>
|
<h1 className="text-2xl font-bold tracking-tight text-white">工作流</h1>
|
||||||
<div className="flex space-x-3">
|
<div className="flex space-x-3">
|
||||||
|
|||||||
Reference in New Issue
Block a user