mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Rework of page "contribute.js/todos.js" (part2), finishing up style changes across pages, minor fixes
This commit is contained in:
parent
a91fa4a7fe
commit
88dd1f0cc6
17 changed files with 126 additions and 92 deletions
|
@ -11,7 +11,7 @@ export default function TodoCard(props) {
|
|||
<div
|
||||
className={styles.card}
|
||||
style={{
|
||||
border: `2px solid ${group || '#99f'}`,
|
||||
border: `1px solid ${categories[category].color || '#f2cb05'}`,
|
||||
}}
|
||||
onClick={() => {
|
||||
onClick(props.cardData)
|
||||
|
@ -27,7 +27,7 @@ export default function TodoCard(props) {
|
|||
backgroundColor: categories[category].color,
|
||||
color: 'white',
|
||||
borderRadius: '2px',
|
||||
padding: '2px 4px',
|
||||
padding: '3px',
|
||||
}}
|
||||
>
|
||||
{categories[category].name}
|
||||
|
@ -35,9 +35,9 @@ export default function TodoCard(props) {
|
|||
</div>
|
||||
<div className={styles.numbers}>
|
||||
<div className={`${voted && styles.voted}`}>
|
||||
<div>{`Votes: ${votes.length}`}</div>
|
||||
<div>{`Szavazatok: ${votes.length}`}</div>
|
||||
</div>
|
||||
<div>{points}</div>
|
||||
<div>{`Neh<EFBFBD>zs<EFBFBD>g: ${points}`}</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue