mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-22 13:38:10 -05:00
simplify UI
This commit is contained in:
@@ -32,7 +32,7 @@ const PrimaryActionBar: React.FC<PrimaryActionBarProps> = ({
|
||||
const runButtonOnClick = !isRunning ? onClickRunAgent : requestStopRun;
|
||||
|
||||
return (
|
||||
<div className="absolute bottom-0 left-0 right-0 z-50 flex items-center justify-center p-4">
|
||||
<div className="absolute bottom-0 left-1/2 z-50 flex w-fit -translate-x-1/2 transform items-center justify-center p-4">
|
||||
<div className={`flex gap-4`}>
|
||||
<Tooltip key="ViewOutputs" delayDuration={500}>
|
||||
<TooltipTrigger asChild>
|
||||
|
||||
@@ -47,7 +47,7 @@ export const ControlPanel = ({
|
||||
return (
|
||||
<Card className={cn("m-4 mt-24 w-14", className)}>
|
||||
<CardContent className="p-0">
|
||||
<div className="flex flex-col items-center gap-3 rounded-xl border border-[rgba(225,225,225,1)] py-3">
|
||||
<div className="flex flex-col items-center gap-3 rounded-xl border py-3">
|
||||
{topChildren}
|
||||
<Separator />
|
||||
{controls.map((control, index) => (
|
||||
|
||||
@@ -111,9 +111,9 @@ textarea::placeholder {
|
||||
}
|
||||
|
||||
.flow-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
/* 4rem nav, 1rem padding */
|
||||
margin-top: -5rem;
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user