Browse Source

Restyle collapsibleSection status

pull/21/head
Sacha Weatherstone 4 years ago
parent
commit
6b2b9767f4
  1. 4
      src/components/generic/Sidebar/CollapsibleSection.tsx

4
src/components/generic/Sidebar/CollapsibleSection.tsx

@ -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}</>

Loading…
Cancel
Save