fix padding on ValidProofScreen and WrongProofScreen

This commit is contained in:
turnoffthiscomputer
2024-10-30 22:17:00 +01:00
parent a9bdc05eaa
commit 2e4489ef47
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import { QrCode } from '@tamagui/lucide-icons';
const SuccessScreen: React.FC = () => {
return (
<YStack f={1} p="$3">
<YStack f={1} >
<YStack f={1} mt="$8">
<Text ml="$1" fontSize="$10" color={textBlack}><Text style={{ textDecorationLine: 'underline', textDecorationColor: bgGreen }}>Success</Text>, the proof has been verified</Text>
<XStack f={1} />

View File

@@ -31,7 +31,7 @@ const WrongProofScreen: React.FC = () => {
console.log('Failed conditions:', JSON.stringify(failedConditions));
return (
<YStack f={1} p="$3">
<YStack f={1} >
<YStack f={1} mt="$4" >
<Text ml="$1" fontSize={34} color={textBlack}>
<Text style={{ textDecorationLine: 'underline', textDecorationColor: bgGreen }}>Oops</Text>, the proof is not valid.