diff --git a/src/lib/pdf/quote-document.tsx b/src/lib/pdf/quote-document.tsx index 18de8dd..3611969 100644 --- a/src/lib/pdf/quote-document.tsx +++ b/src/lib/pdf/quote-document.tsx @@ -392,6 +392,12 @@ const styles = StyleSheet.create({ }, totals: { minWidth: 220, + // Push the totals to the right edge of the totals row whether + // or not the operator note is present. Without this, the totals + // would shift to the left edge when the note is empty (because + // it would be the only flex child of a `justify-content: + // space-between` row). + marginLeft: "auto", }, totalLine: { flexDirection: "row",