fix: more mui style fixes

This commit is contained in:
Markus
2026-08-07 15:28:15 +03:00
parent 42b3a5b5be
commit 5915594402
+7 -5
View File
@@ -60,10 +60,13 @@ const QuestionSetForm = ({ initialName, initialQuestionsJson, onSubmit, controls
<TextField
className="question-set-form__questions"
error={!!questionsError}
inputProps={{
style: {
fontFamily: 'source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace',
fontSize: '0.9em',
slotProps={{
inputLabel: { shrink: true },
htmlInput: {
style: {
fontFamily: 'source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace',
fontSize: '0.9em',
},
},
}}
fullWidth
@@ -103,7 +106,6 @@ const QuestionSetForm = ({ initialName, initialQuestionsJson, onSubmit, controls
}
]
`}
slotProps={{ inputLabel: { shrink: true } }}
/>
{controls}
</form>