Skip to content

Commit 2eb49fe

Browse files
committed
Make question filter sticky
1 parent 44f69d8 commit 2eb49fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

peerprep/components/questionpage/QuestionList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ const QuestionList = ({ questions }: Props) => {
5656
};
5757

5858
return (
59-
<div className="sticky top-0">
60-
<div className="mb-4 flex items-end space-x-4">
59+
<div className="flex h-full flex-col">
60+
<div className="sticky top-0 mb-4 flex items-end space-x-4">
6161
<PeerprepSearchBar
6262
value={searchFilter}
6363
label="Search questions..."

0 commit comments

Comments
 (0)