Skip to content

Commit

Permalink
fixed corners of settings on macro modal
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuang38 committed Jun 8, 2024
1 parent a98774c commit 88de959
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dashboard/src/pages/macros.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ const MacroModalContents = ({
const [macroData, _] = useState(data);
return (
<div className={
clsx('flex flex-col gap-4 @4xl:flex-row', macroData.error? '' : 'mb-2')}>
clsx(macroData.error? '' : 'mb-2', 'flex flex-col gap-2 @4xl:flex-row')}>
<span className="w-full min-w-0 rounded-lg border border-gray-faded/30 child:w-full child:border-b child:border-gray-faded/30 first:child:rounded-t-lg last:child:rounded-b-lg last:child:border-b-0">
{
Object.entries(macroData.config).map(([_, manifest], index) => {
return (<>
<div >
return (
<SettingField
key = {index}
instance = {selectedInstance}
Expand All @@ -60,9 +59,7 @@ const MacroModalContents = ({
);
macroData.error = null;
}}
/>
</div>
</>)
/> )
})
}

Expand Down

0 comments on commit 88de959

Please sign in to comment.