mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: BIG-222 Manual journal details entries table footer.
This commit is contained in:
33
src/components/Table/index.js
Normal file
33
src/components/Table/index.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import styled from 'styled-components';
|
||||
|
||||
export const Table = styled.table`
|
||||
width: 100%;
|
||||
vertical-align: top;
|
||||
border-color: #dee2e6;
|
||||
border-spacing: 0;
|
||||
`;
|
||||
export const TBody = styled.tbody``;
|
||||
export const TR = styled.tr``;
|
||||
export const TD = styled.td`
|
||||
padding: 0.5rem 0.5rem;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: inherit;
|
||||
border-bottom-style: solid;
|
||||
|
||||
${(props) =>
|
||||
props.textAlign === 'right' &&
|
||||
`
|
||||
text-align: right;`}
|
||||
`;
|
||||
|
||||
export const TRDarkSingleLine = styled(TR)`
|
||||
${TD} {
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
`;
|
||||
|
||||
export const TRDarkDoubleLines = styled(TR)`
|
||||
${TD} {
|
||||
border-bottom: 3px double #000;
|
||||
}
|
||||
`;
|
||||
@@ -94,6 +94,7 @@ export * from './CommercialDoc';
|
||||
export * from './Card';
|
||||
export * from './Customers'
|
||||
export * from './Vendors'
|
||||
export * from './Table';
|
||||
|
||||
const Hint = FieldHint;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user