Restyle collapsibleSection status

This commit is contained in:
Sacha Weatherstone
2022-03-04 21:38:01 +11:00
parent 84ce3aae30
commit 6b2b9767f4
@@ -40,12 +40,12 @@ export const CollapsibleSection = ({
<m.div className="my-auto flex gap-2"> <m.div className="my-auto flex gap-2">
{status !== undefined ? ( {status !== undefined ? (
<> <>
{icon}
<div <div
className={`h-3 w-3 rounded-full ${ className={`my-auto h-2 w-2 rounded-full ${
status ? 'bg-green-500' : 'bg-red-500' status ? 'bg-green-500' : 'bg-red-500'
}`} }`}
/> />
{icon}
</> </>
) : ( ) : (
<>{icon}</> <>{icon}</>