Update ValidationSeasonItem

This commit is contained in:
DwCay
2022-05-26 20:35:29 +03:00
parent df6419bfff
commit e6142b1402
2 changed files with 5 additions and 5 deletions

View File

@@ -5,9 +5,9 @@ function ValidationSeasonItem({ length, item, index }) {
<li className="relative py-2">
<div className="flex items-center mb-1">
{length-1!==index && <div className="absolute left-0 h-full w-0.5 bg-slate-200 self-start ml-2.5 -translate-x-1/2 translate-y-3" aria-hidden="true"></div>}
<div className="absolute left-0 rounded-full bg-indigo-500" aria-hidden="true">
<div className={`absolute left-0 rounded-full ${item.checked ? "bg-indigo-500" : "bg-[#FF0000]"}`} aria-hidden="true">
<svg className="w-5 h-5 fill-current text-white" viewBox="0 0 20 20">
<path d="M14.4 8.4L13 7l-4 4-2-2-1.4 1.4L9 13.8z" />
{item.checked && <path d="M14.4 8.4L13 7l-4 4-2-2-1.4 1.4L9 13.8z"/>}
</svg>
</div>
<h3 className="text-lg font-bold text-slate-800 pl-9">