style: remove truck illustration completely and increase bottom margin for print safety
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m41s
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m41s
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled
This commit is contained in:
@@ -216,7 +216,7 @@ const styles = StyleSheet.create({
|
||||
left: 0,
|
||||
right: 0,
|
||||
height: '20mm', // Generous area for the footer
|
||||
paddingBottom: '3mm', // Exactly compensate for bottom bleed (3mm trim)
|
||||
paddingBottom: '7mm', // 3mm bleed + 4mm safe margin
|
||||
zIndex: 50,
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'center',
|
||||
@@ -367,7 +367,7 @@ const styles = StyleSheet.create({
|
||||
justifyContent: 'flex-start',
|
||||
alignItems: 'center',
|
||||
position: 'absolute',
|
||||
bottom: '4mm',
|
||||
bottom: '7mm', // 3mm bleed + 4mm safe margin
|
||||
left: '6mm', // Match backContainer paddingLeft for flush alignment
|
||||
},
|
||||
addressFooterText: {
|
||||
@@ -852,15 +852,6 @@ export const PDFBusinessCard: React.FC<PDFBusinessCardProps> = ({
|
||||
{/* VORDERSEITE (Blue page with logo, truck and tagline) */}
|
||||
{renderPageWrapper(
|
||||
<>
|
||||
{withTruck && (
|
||||
<View style={styles.truckWrapper}>
|
||||
<TruckBlueprint
|
||||
style={styles.frontBackgroundImage}
|
||||
opacity={isWhiteVariant ? 0.2 : 0.25}
|
||||
backgroundColor={isWhiteVariant ? '#ffffff' : '#011dff'}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
<View style={styles.frontFooterArea}>
|
||||
<Text style={[styles.frontTaglineBar, isWhiteVariant && { color: COLORS.black }]}>
|
||||
Von 0,6/1,0 kV bis 64/110 kV
|
||||
|
||||
Reference in New Issue
Block a user