refactor: updated styling of conflict component to match figma (#190)
* refactor: updated styling of conflict component to match figma * style: ran prettier * refactor: slightly --------- Co-authored-by: Razboy20 <razboy20@gmail.com>
This commit is contained in:
@@ -23,12 +23,17 @@ export default function ConflictsWithWarning({ className, conflicts }: Conflicts
|
||||
variant='mini'
|
||||
className={clsx(
|
||||
className,
|
||||
'min-w-21 w-21 flex flex-col items-start gap-2.5 rounded bg-[#AF2E2D] p-2.5 text-white'
|
||||
'min-w-21 w-21 flex flex-col items-start gap-2.5 rounded bg-theme-red p-2.5 text-white'
|
||||
)}
|
||||
>
|
||||
<div>Conflicts With:</div>
|
||||
{conflicts.map(course => (
|
||||
<div>{`${course.department} ${course.number} (${course.uniqueId})`}</div>
|
||||
<div>
|
||||
<Text as='strong' variant='mini' className='font-bold!'>
|
||||
{course.department} {course.number}
|
||||
</Text>{' '}
|
||||
({course.uniqueId})
|
||||
</div>
|
||||
))}
|
||||
</Text>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user