Skip to content

Commit

Permalink
style: update the style of AI question
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Nov 3, 2023
1 parent cbc9b9e commit 710539d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/client/components/InteractiveForm/RenderAIQuestion.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import React from 'react'
import {
Box,
Container,
FormControlLabel,
Switch,
TextField,
} from '@mui/material'
import { Box, FormControlLabel, Switch, TextField } from '@mui/material'
import { Controller } from 'react-hook-form'
import { useTranslation } from 'react-i18next'
import { useLocation } from 'react-router-dom'
Expand All @@ -29,7 +23,7 @@ const RenderAIQuestion = ({ control }: InputProps) => {
if (location.pathname === '/public') return null

return (
<Container sx={cardStyles.questionsContainer}>
<Box sx={cardStyles.questionsContainer}>
<Markdown>{t('AIquestion:title')}</Markdown>
<Box sx={cardStyles.content}>
<Markdown>{t('AIquestion:text')}</Markdown>
Expand Down Expand Up @@ -68,7 +62,7 @@ const RenderAIQuestion = ({ control }: InputProps) => {
</Box>
)}
/>
</Container>
</Box>
)
}

Expand Down

0 comments on commit 710539d

Please sign in to comment.