Skip to content

Commit 642a368

Browse files
committed
style change
1 parent 033cebe commit 642a368

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

app/page.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@ const Home: NextPage = () => {
1818

1919
return (
2020
<div className="mx-auto mb-6 w-full lg:w-[70vw] 2xl:w-[45%] text-center">
21-
<h2 className="text-white text-5xl font-bold uppercase md:mt-14">
22-
Welcome!
23-
</h2>
24-
<p className="text-white text-lg mt-4 mb-14 px-5 leading-6">
21+
<h2 className="text-white text-5xl font-bold uppercase">Welcome!</h2>
22+
<p className="text-white text-lg mt-4 mb-6 px-5 leading-6">
2523
Select an exam from the list below.
2624
</p>
2725
<input
2826
type="text"
2927
value={searchTerm}
3028
onChange={handleSearchChange}
3129
placeholder="Search exams"
32-
className="mb-5 px-4 py-2 border border-gray-300 rounded-md w-3/4 lg:w-1/2"
30+
className="mb-6 px-4 py-2 border border-gray-300 rounded-md w-3/4 lg:w-1/2"
3331
/>
3432
<div className="grid grid-cols-1 sm:grid-cols-2 gap-x-10 gap-y-5 mx-5 lg:mx-0">
3533
{filteredExams.map((exam) => (

components/QuizForm.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,10 @@ const QuizForm: FC<Props> = ({
215215
</svg>
216216
</button>
217217
<div className="flex justify-center relative w-[15%] z-[1]">
218-
<span className="absolute text-white opacity-10 font-bold text-6xl bottom-0 -z-[1] select-none">
218+
<span className="absolute text-white opacity-10 font-bold text-6xl bottom-0 right-0 -z-[1] select-none">
219219
Q&A
220220
</span>
221+
221222
<input
222223
className="w-[40px] text-white rounded-l-md border outline-0 border-slate-700 bg-slate-900 text-center text-md [-moz-appearance:_textfield] [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none"
223224
type="number"

0 commit comments

Comments
 (0)