Skip to content

Commit

Permalink
fix: Prediction mobile height
Browse files Browse the repository at this point in the history
  • Loading branch information
memoyil committed Jan 5, 2025
1 parent 54d709a commit 912ef33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/views/Predictions/Mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Mobile: React.FC<React.PropsWithChildren> = () => {
<Flex mt="24px" justifyContent="center">
<AdPanel.MobileCard />
</Flex>
<Box height="100%">
<Box style={{ flex: 1 }}>
{view === PageView.POSITIONS && (
<Flex justifyContent="center" alignItems="center" flexDirection="column" minHeight="100%">
{status === PredictionStatus.ERROR && <ErrorNotification />}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/views/Predictions/components/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { styled } from 'styled-components'
const Container = styled.div`
background: ${({ theme }) => theme.colors.gradientVioletAlt};
@media only screen and (max-width: 575px) and (min-height: 740px) {
height: calc(100vh - 40px);
height: fit-content;
}
${({ theme }) => theme.mediaQueries.lg} {
height: calc(100vh - 115px);
Expand Down

0 comments on commit 912ef33

Please sign in to comment.