Skip to content

Commit

Permalink
fix: writeup page scrollarea
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Apr 14, 2023
1 parent f0464d2 commit 1df3f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GZCTF/ClientApp/src/pages/admin/games/[id]/Writeups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const GameWriteups: FC = () => {
<Stack style={{ position: 'relative', marginTop: '-3rem', width: 'calc(100% - 16rem)' }}>
<PDFViewer url={selected.url} height="calc(100vh - 110px)" />
</Stack>
<ScrollArea miw="15rem" maw="15rem" style={{ height: 'calc(100vh-180px)' }} type="auto">
<ScrollArea miw="15rem" maw="15rem" h="calc(100vh - 110px - 3rem)" type="never">
<Stack>
{writeups?.map((writeup) => (
<TeamWriteupCard
Expand Down

0 comments on commit 1df3f22

Please sign in to comment.