Skip to content

Commit

Permalink
fix(SplitScreen): Update top offset on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbals committed Apr 4, 2022
1 parent 0f1d765 commit 33297fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SplitScreen/SplitScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const SplitScreen: React.FC<SplitScreenProps> = ({

const variants = {
desktop: { top: 0, height: '100%' },
mobileClosed: { top: 'var(--header-height)', height: 'calc(100% - var(--header-height))' },
mobileClosed: { top: 'var(--boemly-space-28)', height: 'calc(100% - var(--header-height))' },
mobileOpen: { top: height - 40, height: 'calc(100% - var(--header-height))' },
};

Expand Down

1 comment on commit 33297fa

@vercel
Copy link

@vercel vercel bot commented on 33297fa Apr 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.