Skip to content

Commit

Permalink
Add border of the question input
Browse files Browse the repository at this point in the history
  • Loading branch information
leung018 committed May 10, 2024
1 parent 95adfc2 commit 0813f5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/components/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function QuestionSetEditor({
return (
<div className="container mx-auto p-4">
<form>
<div className="form-group">
<div className="form-group mb-8">
<label>
<h1 className="text-lg font-bold mb-2">Question Set Name:</h1>
<input
Expand All @@ -248,7 +248,10 @@ function QuestionSetEditor({

{questionSetInput.questions.map((question, questionIndex) => {
return (
<div key={questionIndex} className="mb-8">
<div
key={questionIndex}
className="mb-8 border border-2 border-gray-300 p-4"
>
<label>
<h2 className="text-lg font-bold mb-2">
Question {questionIndex + 1}:
Expand Down

0 comments on commit 0813f5c

Please sign in to comment.