Skip to content

Commit 2a2ce42

Browse files
committed
Change question form fields to sharp borders for consistency
1 parent 749087c commit 2a2ce42

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

frontend/src/components/ConfirmationDialog/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import DialogTitle from "@mui/material/DialogTitle";
33
import DialogContent from "@mui/material/DialogContent";
44
import DialogActions from "@mui/material/DialogActions";
55
import Dialog from "@mui/material/Dialog";
6-
import React from "react";
76

87
type ConfirmationDialogProps = {
98
titleText: string;

frontend/src/components/QuestionDetail/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ const QuestionDetail: React.FC<QuestionDetailProps> = ({
108108
},
109109
},
110110
},
111+
img: {
112+
component: "img",
113+
props: {
114+
style: { height: "300px", width: "auto", objectFit: "contain" },
115+
},
116+
},
111117
},
112118
}}
113119
>

frontend/src/pages/QuestionList/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ const QuestionList: React.FC = () => {
179179
columnSpacing={2}
180180
sx={(theme) => ({
181181
marginTop: theme.spacing(2),
182-
"& fieldset": { borderRadius: theme.spacing(2.5) },
183182
"& .MuiTextField-root": { width: "100%" },
184183
})}
185184
>

0 commit comments

Comments
 (0)