Skip to content

Commit

Permalink
fix(web): settings not scrollable on landscape mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
kemuru committed Sep 15, 2023
1 parent 5952d68 commit 566e38e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion web/src/layout/Header/navbar/Menu/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const Container = styled.div`
display: flex;
flex-direction: column;
position: absolute;
max-height: 60vh;
top: 5%;
left: 50%;
transform: translate(-50%);
Expand Down
2 changes: 2 additions & 0 deletions web/src/layout/Header/navbar/Menu/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { useFocusOutside } from "hooks/useFocusOutside";
const Container = styled.div`
display: flex;
position: absolute;
max-height: 80vh;
overflow-y: auto;
z-index: 1;
background-color: ${({ theme }) => theme.whiteBackground};
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion web/src/layout/Header/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Container = styled.div<{ isOpen: boolean }>`
top: 64px;
left: 0;
right: 0;
max-height: calc(90vh - 64px);
max-height: calc(100vh - 64px);
overflow-y: auto;
z-index: 1;
background-color: ${({ theme }) => theme.whiteBackground};
Expand Down

0 comments on commit 566e38e

Please sign in to comment.