fix: darkmode bank transaction drawer

This commit is contained in:
Ahmed Bouhuolia
2025-12-23 19:57:31 +02:00
parent f2663c4af3
commit 7cb169bce9
6 changed files with 38 additions and 34 deletions

View File

@@ -31,13 +31,25 @@
.asideContent{
background: #F6F7F9;
height: 335px;
:global(.bp4-dark) & {
background: var(--color-dark-gray2);
}
}
.asideRoot {
flex: 1 1 0;
box-shadow: 0 0 0 1px rgba(17,20,24,.1),0 1px 1px rgba(17,20,24,.2),0 2px 6px rgba(17,20,24,.2);
:global(.bp4-dark) & {
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1),0 1px 1px rgba(255, 255, 255, 0.2),0 2px 6px rgba(255, 255, 255, 0.2);
}
}
.asideFooter {
background: #F6F7F9;
:global(.bp4-dark) & {
background: var(--color-dark-gray2);
}
}

View File

@@ -5,6 +5,7 @@ import { CommercialDocEntriesTable } from '@/components';
import { useCashflowTransactionColumns } from './utils';
import { useCashflowTransactionDrawerContext } from './CashflowTransactionDrawerProvider';
import { TableStyle } from '@/constants';
/**
* Cashflow transaction drawer table.
@@ -15,5 +16,11 @@ export default function CashflowTransactionDrawerTable() {
cashflowTransaction: { transactions },
} = useCashflowTransactionDrawerContext();
return <CommercialDocEntriesTable columns={columns} data={transactions} />;
return (
<CommercialDocEntriesTable
columns={columns}
data={transactions}
styleName={TableStyle.Constrant}
/>
);
}

View File

@@ -1,7 +1,6 @@
// @ts-nocheck
import React from 'react';
import { DrawerBody } from '@/components';
import InvoiceDetail from './InvoiceDetail';
import { InvoiceDetailDrawerProvider } from './InvoiceDetailDrawerProvider';

View File

@@ -130,7 +130,8 @@ function PaymentMadeFormHeaderFields({ organization: { base_currency } }) {
name={'payment_date'}
{...momentFormatter('YYYY/MM/DD')}
popoverProps={{ position: Position.BOTTOM, minimal: true }}
inputProps={{ leftIcon: <Icon icon={'date-range'} />, fill: true }}
inputProps={{ leftIcon: <Icon icon={'date-range'} /> }}
fill
fastField
/>
</FFormGroup>