-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
167 additions
and
117 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"live-mobile": patch | ||
--- | ||
|
||
Change the navigation header font variant from h3 (Alpha) to h5 (Inter) |
22 changes: 1 addition & 21 deletions
22
apps/ledger-live-mobile/src/components/CustomImage/BottomButtonsContainer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,11 @@ | ||
import { Flex } from "@ledgerhq/native-ui"; | ||
import React, { ReactNode } from "react"; | ||
import { useSafeAreaInsets } from "react-native-safe-area-context"; | ||
import styled from "styled-components/native"; | ||
|
||
type Props = { | ||
children?: ReactNode | undefined; | ||
}; | ||
|
||
const Container = styled(Flex).attrs({ | ||
const BottomButtonsContainer = styled(Flex).attrs({ | ||
flexDirection: "column", | ||
alignSelf: "stretch", | ||
backgroundColor: "background.drawer", | ||
borderTopLeftRadius: "16px", | ||
borderTopRightRadius: "16px", | ||
})``; | ||
const Inner = styled(Flex).attrs({ | ||
padding: 6, | ||
pb: 8, | ||
})``; | ||
|
||
const BottomButtonsContainer: React.FC<Props> = ({ children }) => { | ||
const insets = useSafeAreaInsets(); | ||
return ( | ||
<Container paddingBottom={insets.bottom}> | ||
<Inner>{children}</Inner> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default BottomButtonsContainer; |
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const cropAspectRatio = { | ||
export const targetDimensions = { | ||
width: 1080, | ||
height: 1400, | ||
}; |
Oops, something went wrong.