-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: give activity screen a min height to stop it jumping when empty, c…
…loses #4249
- Loading branch information
1 parent
1f8e863
commit 75466bd
Showing
4 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/app/features/activity-list/components/no-account-activity.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Box } from 'leather-styles/jsx'; | ||
|
||
interface TabWrapperProps { | ||
children: React.ReactNode; | ||
padContent?: boolean; | ||
} | ||
|
||
export function TabWrapper({ children, padContent = false }: TabWrapperProps) { | ||
return ( | ||
// Height set based on the height of the empty assets screen | ||
<Box minHeight="477px" py={padContent ? 'space.11' : undefined}> | ||
{children} | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters