Skip to content

Commit

Permalink
hotfix(bottle): bottles page height
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Oct 1, 2024
1 parent 21b4c4a commit 0f262f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/bottle/src/app/bottles/pageStyle.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const controlStyle = style({

export const contentsContainer = style({
width: '100%',
height: `calc(100vh - ${HEADER_HEIGHT}px)`,
height: `calc(100vh - ${HEADER_HEIGHT}px) - env(safe-area-inset-top))`,
overflow: 'scroll',
msOverflowStyle: 'none',
scrollbarWidth: 'none',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const layoutStyle = recipe({
},
variants: {
hasCTAButton: {
true: { height: `calc(100vh - ${CONTAINER_OFFSET_HEIGHT - OVERLAP_HEIGHT}px)` },
false: { height: '100vh' },
true: { height: `calc(100vh - ${CONTAINER_OFFSET_HEIGHT - OVERLAP_HEIGHT}px) - env(safe-area-inset-top))` },
false: { height: '100vh - env(safe-area-inset-top))' },
},
},
});
Expand Down

0 comments on commit 0f262f8

Please sign in to comment.