mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: style the invoice payment preview
This commit is contained in:
@@ -137,7 +137,7 @@ export function InvoicePaymentPage({
|
||||
</Group>
|
||||
|
||||
<Stack spacing={6}>
|
||||
<h1 className={styles.bigTitle}>
|
||||
<h1 className={clsx(styles.bigTitle, classNames?.bigTitle)}>
|
||||
{organizationName} Sent an Invoice for {total}
|
||||
</h1>
|
||||
<Group spacing={10}>
|
||||
|
||||
@@ -23,7 +23,7 @@ const withInvoiceMailReceiptPreviewConnected = <P extends Object>(
|
||||
// organizationAddress: mergedBrandingState,
|
||||
};
|
||||
return (
|
||||
<Box px={4} py={8}>
|
||||
<Box px={4} pt={8} pb={16}>
|
||||
<Component {...(props as P)} {...mergedProps} />
|
||||
</Box>
|
||||
);
|
||||
|
||||
@@ -9,7 +9,6 @@ import { useElementCustomizeContext } from '@/containers/ElementCustomize/Elemen
|
||||
import { InvoiceCustomizeFormValues } from './types';
|
||||
import { Box } from '@/components';
|
||||
|
||||
|
||||
const withInvoicePaymentPreviewPageProps = <P extends Object>(
|
||||
Component: React.ComponentType<P>,
|
||||
) => {
|
||||
@@ -26,13 +25,20 @@ const withInvoicePaymentPreviewPageProps = <P extends Object>(
|
||||
primaryColor: mergedBrandingState?.primaryColor,
|
||||
};
|
||||
return (
|
||||
<Box px={4} py={8}>
|
||||
<Box px={4} pt={8} pb={16}>
|
||||
<Component
|
||||
{...(props as P)}
|
||||
{...mergedProps}
|
||||
classNames={{
|
||||
root: css`
|
||||
margin: 0 auto;
|
||||
border-radius: 5px !important;
|
||||
transform: scale(0.9);
|
||||
transform-origin: top;
|
||||
boxshadow: 0 10px 15px rgba(0, 0, 0, 0.05) !important;
|
||||
`,
|
||||
bigTitle: css`
|
||||
color: #333 !important;
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user