Unknown char fixes, removed unnecesary files, style fixes/changes

This commit is contained in:
mrfry 2021-04-21 12:05:16 +02:00
parent 9c194277b3
commit 3739153e95
10 changed files with 65 additions and 44 deletions

View file

@ -6,6 +6,8 @@ export default function TodoRow(props) {
const { categories, userId, onClick } = props
const { name, category, votes, id, group } = props.rowData
const voted = votes.includes(userId)
const borderColor =
categories[category].borderColor || categories[category].color
return (
<div
@ -14,7 +16,8 @@ export default function TodoRow(props) {
}}
className={styles.row}
style={{
border: `2px dashed ${categories[category].color || 'white'}`,
border: `2px dashed ${borderColor || 'white'}`,
borderRadius: '3px',
}}
>
<div className={styles.id}>{`#${id}`}</div>