fix(pdf): widen total container and reduce font to prevent label-value collision
All checks were successful
Staging Build / build (push) Successful in 2m40s
All checks were successful
Staging Build / build (push) Successful in 2m40s
This commit is contained in:
@@ -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 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user