mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix: more mui style fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user