Skip to content

Commit

Permalink
add more padding to the pods modal (#2144)
Browse files Browse the repository at this point in the history
fix for chrome and safari landscape:

<img width="890" alt="image"
src="https://github.com/user-attachments/assets/d0e15fe7-04c3-461b-b148-5541743229e4">
  • Loading branch information
GuySerfaty authored Nov 10, 2024
1 parent 3b6266c commit e6de699
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ const Container = styled.div<{ isLandscape: boolean }>`
flex-direction: column;
// 50px comes from 24px padding we have on the bottom modal
max-height: calc(
100vh - ${({ isLandscape }): number => (isLandscape ? 50 : 120)}px
100vh - ${({ isLandscape }): number => (isLandscape ? 80 : 150)}px
);
`;
const ContainerWithPadding = styled.div`
Expand Down

0 comments on commit e6de699

Please sign in to comment.