карточки квизов пишут последние 4 цифры id при пустом имени, текст в нодах не переполняет ноду
This commit is contained in:
parent
c7d5320771
commit
7f832e5fbd
@ -14,7 +14,9 @@ export const stylesheet: Stylesheet[] = [
|
||||
"text-halign": "center",
|
||||
"text-valign": "center",
|
||||
"text-wrap": "wrap",
|
||||
"text-max-width": "80",
|
||||
"text-max-width": "130px",
|
||||
"text-overflow-wrap": "anywhere",
|
||||
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -98,8 +98,8 @@ export default function QuizCard({
|
||||
>
|
||||
{quiz.name.length === 0 || quiz.name === " "
|
||||
? quiz.config.type === "form"
|
||||
? "Form " + quiz.backendId
|
||||
: "Quiz " + quiz.backendId
|
||||
? "Form " + quiz.backendId.toString().slice(-4).replace(/^0/, "1")
|
||||
: "Quiz " + quiz.backendId.toString().slice(-4).replace(/^0/, "1")
|
||||
: quiz.name}
|
||||
</Typography>
|
||||
<Box
|
||||
|
Loading…
Reference in New Issue
Block a user