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
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue