fix(pdf): widen total container and reduce font to prevent label-value collision
All checks were successful
Staging Build / build (push) Successful in 2m40s

This commit is contained in:
DanielS
2026-07-07 09:00:54 +02:00
parent 0ec1319753
commit e00acac626

View File

@@ -77,7 +77,7 @@ const styles = StyleSheet.create({
paddingTop: 10, paddingTop: 10,
}, },
totalLabel: { totalLabel: {
fontSize: 14, fontSize: 11,
fontWeight: 'bold', fontWeight: 'bold',
}, },
footer: { footer: {
@@ -216,7 +216,7 @@ export const InvoicePDF = ({ order, orderSnapshot, customer }: any) => {
</View> </View>
<View style={styles.total}> <View style={styles.total}>
<View style={{ width: '50%' }}> <View style={{ width: '70%' }}>
{oneTimeNet > 0 && ( {oneTimeNet > 0 && (
<View style={{ marginBottom: monthlyNet > 0 ? 10 : 0 }}> <View style={{ marginBottom: monthlyNet > 0 ? 10 : 0 }}>
{monthlyNet > 0 && ( {monthlyNet > 0 && (