Skip to content

Commit

Permalink
fix(bottle): handle scrollable area height (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks authored Sep 26, 2024
1 parent bcd3670 commit 51fe112
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/bottle/src/app/profile/edit/profileEditStyle.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { style } from '@vanilla-extract/css';

export const contentsContainerStyle = style({
width: '100%',
height: `calc(100vh - ${HEADER_HEIGHT}px)`,
height: `calc(100vh - ${HEADER_HEIGHT}px + env(safe-area-inset-top))`,
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const buttonContainer = style({
});

export const containerStyle = style({
height: `calc(100vh - ${CONTAINER_OFFSET_HEIGHT - OVERLAP_HEIGHT}px)`,
height: `calc(100vh - ${CONTAINER_OFFSET_HEIGHT - OVERLAP_HEIGHT}px + env(safe-area-inset-top))`,
overflow: 'scroll',
msOverflowStyle: 'none',
scrollbarWidth: 'none',
Expand Down

0 comments on commit 51fe112

Please sign in to comment.