Skip to content

Commit

Permalink
fix(bottle): handle scrollable area height (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks authored Sep 26, 2024
1 parent 51fe112 commit e904b92
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 + env(safe-area-inset-top))`,
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 + env(safe-area-inset-top))`,
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 e904b92

Please sign in to comment.