mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: darkmode bank transaction drawer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// @ts-nocheck
|
||||
import React from 'react';
|
||||
import { DrawerBody } from '@/components';
|
||||
|
||||
import InvoiceDetail from './InvoiceDetail';
|
||||
import { InvoiceDetailDrawerProvider } from './InvoiceDetailDrawerProvider';
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user