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:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user