Skip to content

Commit 36e6352

Browse files
InfinityTwolhw-1RichDom2185
authored
Grading Overview - Clickable Horizontal Scrollbar (#2824)
* moved grading horizontal scrollbar downwards * added text-overflow ellipsis for filterable btns * made horizontal scrollbar clickable --------- Co-authored-by: Lee Hyung Woon / 이형운 <leehyungwoonsamuel@gmail.com> Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com>
1 parent c259d86 commit 36e6352

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/pages/academy/grading/subcomponents/GradingSubmissionsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const GradingSubmissionTable: React.FC<GradingSubmissionTableProps> = ({
230230
</TableRow>
231231
))}
232232
</TableBody>
233-
233+
<div className="grading-overview-footer-sibling"></div>
234234
<Footer>
235235
<Flex justifyContent="justify-center" spaceX="space-x-3">
236236
<Button

src/styles/_academy.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,3 +552,15 @@
552552
}
553553
}
554554
}
555+
556+
.grading-overview-footer-sibling {
557+
// Footer component
558+
~ div ~ div {
559+
pointer-events: none;
560+
561+
// Footer's children
562+
> * > * {
563+
pointer-events: all;
564+
}
565+
}
566+
}

0 commit comments

Comments
 (0)