mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Mobile view allquestions / subj browser updates
This commit is contained in:
parent
978dfcd382
commit
c3692d3c52
3 changed files with 7 additions and 3 deletions
|
@ -3,4 +3,5 @@
|
||||||
background-color: #9999ff;
|
background-color: #9999ff;
|
||||||
color: black;
|
color: black;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// TODO: add number next to it
|
|
||||||
|
|
||||||
import styles from './SubjectSelector.module.css'
|
import styles from './SubjectSelector.module.css'
|
||||||
|
|
||||||
export default function SubjectSelector (props) {
|
export default function SubjectSelector (props) {
|
||||||
|
@ -21,7 +19,7 @@ export default function SubjectSelector (props) {
|
||||||
key={i}
|
key={i}
|
||||||
onClick={() => onSubjSelect(subj.Name)}
|
onClick={() => onSubjSelect(subj.Name)}
|
||||||
>
|
>
|
||||||
<span>
|
<span className={styles.subjName}>
|
||||||
{subj.Name}
|
{subj.Name}
|
||||||
</span>
|
</span>
|
||||||
<span className={styles.questionCount}>
|
<span className={styles.questionCount}>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
.questionCount {
|
.questionCount {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subjName {
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue