Mobile view allquestions / subj browser updates

This commit is contained in:
MrFry 2020-03-23 11:13:35 +01:00
parent 978dfcd382
commit c3692d3c52
3 changed files with 7 additions and 3 deletions

View file

@ -3,4 +3,5 @@
background-color: #9999ff; background-color: #9999ff;
color: black; color: black;
padding: 10px; padding: 10px;
word-wrap: break-word;
} }

View file

@ -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}>

View file

@ -1,3 +1,8 @@
.questionCount { .questionCount {
justify-content: flex-end; justify-content: flex-end;
white-space: nowrap;
}
.subjName {
word-wrap: break-word;
} }