label color fixed

This commit is contained in:
victorAnumudu
2025-01-24 15:08:43 +01:00
parent fcde22d4cb
commit b2b0bf8af6
2 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -94,10 +94,10 @@ export default function Calendar(){
// >
// <span>{item.description}</span>
// </div>
<div key={index} className={`fc-event form-check ${color}`}>
<div key={index} className={`form-check ${color}`}>
<input className="form-check-input" type="radio" value={item.cid}
id={item.cid} name='category' checked={item.cid == activeCategory} onChange={() => handleActiveCategory(item.cid)} />
<label className={`${color} form-check-label`} htmlFor={item.cid}>
<label className={`w-100 form-check-label`} htmlFor={item.cid}>
{item.description}
</label>
</div>