Skip to content

Commit c09e94c

Browse files
committed
prettier changes
1 parent 2168ff6 commit c09e94c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

frontend/src/components/Filters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const SearchFilter = ({}: props) => {
9494

9595
return (
9696
<section>
97-
<div className="flex flex-col border-2 border-black bg-barely-pink p-2 rounded-lg">
97+
<div className="flex flex-col rounded-lg border-2 border-black bg-barely-pink p-2">
9898
{" "}
9999
{/* Div for Whole Filter Component*/}
100100
<h1 className="text-center text-lg font-extrabold sm:m-2 sm:ml-8 sm:mt-8 sm:w-full sm:text-left sm:text-2xl sm:font-extrabold">

frontend/src/components/courses/AddCourses.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,32 +132,32 @@ export function AddCourses({ onAddCourse, searchParams }: Props) {
132132

133133
return (
134134
<div className="h-full min-w-full">
135-
<nav className="flex gap-2 z-10">
135+
<nav className="z-10 flex gap-2">
136136
<Link
137137
href={subjectView.href}
138138
data-active={state.view === "subject"}
139-
className="w-1/3 rounded-bl-none rounded-br-none rounded-tl-lg rounded-tr-lg bg-dusty-pink border-2 border-black border-b-0 px-4 py-2 text-left font-bold capitalize text-[#dbabab] duration-150 data-[active=true]:bg-bulldog-red data-[active=true]:text-white"
139+
className="w-1/3 rounded-bl-none rounded-br-none rounded-tl-lg rounded-tr-lg border-2 border-b-0 border-black bg-dusty-pink px-4 py-2 text-left font-bold capitalize text-[#dbabab] duration-150 data-[active=true]:bg-bulldog-red data-[active=true]:text-white"
140140
>
141141
By Subject
142142
</Link>
143143
<Link
144144
href={instructorView.href}
145145
data-active={state.view === "instructor"}
146-
className="w-1/3 rounded-bl-none rounded-br-none rounded-tl-lg rounded-tr-lg bg-dusty-pink border-2 border-black border-b-0 px-4 py-2 text-left font-bold capitalize text-[#dbabab] duration-150 data-[active=true]:bg-bulldog-red data-[active=true]:text-white"
146+
className="w-1/3 rounded-bl-none rounded-br-none rounded-tl-lg rounded-tr-lg border-2 border-b-0 border-black bg-dusty-pink px-4 py-2 text-left font-bold capitalize text-[#dbabab] duration-150 data-[active=true]:bg-bulldog-red data-[active=true]:text-white"
147147
>
148148
By Instructor
149149
</Link>
150150
<Link
151151
href={crnView.href}
152152
data-active={state.view === "crn"}
153-
className="w-1/3 rounded-bl-none rounded-br-none rounded-tl-lg rounded-tr-lg bg-dusty-pink border-2 border-black border-b-0 px-4 py-2 text-left font-bold capitalize text-[#dbabab] duration-150 data-[active=true]:bg-bulldog-red data-[active=true]:text-white"
153+
className="w-1/3 rounded-bl-none rounded-br-none rounded-tl-lg rounded-tr-lg border-2 border-b-0 border-black bg-dusty-pink px-4 py-2 text-left font-bold capitalize text-[#dbabab] duration-150 data-[active=true]:bg-bulldog-red data-[active=true]:text-white"
154154
>
155155
By CRN
156156
</Link>
157157
</nav>
158158

159159
<form
160-
className="flex flex-col rounded-b-lg gap-16 border-2 border-t-2 border-black bg-barely-pink px-8 py-10 -mt-[2px]"
160+
className="-mt-[2px] flex flex-col gap-16 rounded-b-lg border-2 border-t-2 border-black bg-barely-pink px-8 py-10"
161161
onSubmit={handleSubmit}
162162
>
163163
{state.view === "subject" && <SearchBySubject {...subjectView} />}

0 commit comments

Comments
 (0)