Rework of page "contribute.js/todos.js" (part2), finishing up style changes across pages, minor fixes

This commit is contained in:
ndaniel1102 2021-04-20 21:35:41 +02:00
parent a91fa4a7fe
commit 88dd1f0cc6
17 changed files with 126 additions and 92 deletions

View file

@ -14,7 +14,7 @@ export default function TodoRow(props) {
}}
className={styles.row}
style={{
border: `2px solid ${group || '#99f'}`,
border: `2px dashed ${categories[category].color || 'white'}`,
}}
>
<div className={styles.id}>{`#${id}`}</div>
@ -23,11 +23,11 @@ export default function TodoRow(props) {
<div
style={{
wordBreak: 'break-all',
fontSize: '10px',
fontSize: '12px',
backgroundColor: categories[category].color,
color: 'white',
borderRadius: '2px',
padding: '0px 2px',
padding: '3px',
}}
>
{categories[category].name}
@ -35,7 +35,7 @@ export default function TodoRow(props) {
</div>
<div
className={`${styles.votes} ${voted && styles.voted}`}
>{`Votes: ${votes.length}`}</div>
>{`Szavazatok: ${votes.length}`}</div>
</div>
)
}