Skip to content

Commit

Permalink
Fix learderboard ui
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Nov 14, 2023
1 parent d74bf57 commit b456e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const RightPanel = ({
maxH={rigthPanelMaxH ? rigthPanelMaxH : (isSinglePanel ? "calc(100vh - 70px)" : "calc(100vh - 145px)")}
>
{children}
{!isSinglePanel && <Box display="block" minH="70px" h="90px" w="full" />}
{!isSinglePanel || rigthPanelScrollable && <Box display="block" minH="70px" h="90px" w="full" />}
</VStack>
{footer}
</VStack>
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Leaderboard = ({ nameEntry, ...props }: { nameEntry?: boolean } & StylePro
boxSize="full"
variant="dotted"
h="auto"
maxH="calc(100% - 50px)"
maxH="calc(100% - 100px)"
overflowY="scroll"
__css={{
"scrollbar-width": "none"
Expand Down

0 comments on commit b456e43

Please sign in to comment.