Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export function CourseQnaTable({ courseId }: CourseQnaTableProps) {
columns={columns}
defaultSortState={[{ id: 'createTime', desc: true }]}
>
<div className="mb-6 flex items-center justify-between gap-4">
<div className="flex h-[44px] w-[390px] items-center rounded-full border border-gray-200 bg-white p-1 px-[5px] py-[5px]">
<div className="mb-6 flex flex-nowrap items-center justify-between gap-6">
<div className="flex h-[44px] min-w-0 max-w-[390px] flex-[3_1_0] items-center rounded-full border border-gray-200 bg-white p-1 px-[5px] py-[5px]">
<button
onClick={() => setFilterType('General')}
className={cn(
Expand All @@ -111,7 +111,10 @@ export function CourseQnaTable({ courseId }: CourseQnaTableProps) {
</button>
</div>

<DataTableSearchBar columndId="title" />
<DataTableSearchBar
columndId="title"
containerClassName="w-full min-w-0 max-w-[280px] flex-[2_1_0]"
/>
</div>
<DataTable
getHref={(row: CourseQnaListItem) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export default function QNA() {
const courseId = Number(params.courseId)
return (
<div className="mt-20 flex flex-col gap-6 px-10">
<div className="mb-6 flex flex-nowrap items-center justify-between">
<span className="text-2xl font-semibold leading-[33.6px] tracking-[-0.48px]">
<div className="mb-6 flex items-center justify-between gap-4">
<span className="min-w-0 break-words text-2xl font-semibold leading-[33.6px] tracking-[-0.48px]">
QUESTION & ANSWER
</span>
<div className="mr-10 w-[84px]">
<div className="w-[120px] shrink-0">
<QnAPostButton
section="course"
canCreateQnA={true}
Expand Down
Loading