fixed style bug
This commit is contained in:
parent
a0ef90159e
commit
512cbf6cea
@ -1,3 +1,3 @@
|
|||||||
.ant-tree-switcher-noop {
|
.filterTree .ant-tree-switcher-noop {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -116,6 +116,7 @@ export const TreeFilterDropdown: React.FC<TreeFilterDropdownProps> = ({
|
|||||||
|
|
||||||
<div style={{ maxHeight: 280, overflowY: 'auto', border: '1px solid #f0f0f0', borderRadius: 8, padding: 8 }}>
|
<div style={{ maxHeight: 280, overflowY: 'auto', border: '1px solid #f0f0f0', borderRadius: 8, padding: 8 }}>
|
||||||
<Tree
|
<Tree
|
||||||
|
className='filterTree'
|
||||||
checkable
|
checkable
|
||||||
selectable={false}
|
selectable={false}
|
||||||
treeData={filteredTreeData}
|
treeData={filteredTreeData}
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
.ant-table-summary {
|
.chessTable .ant-table-summary {
|
||||||
border-end-end-radius: 8px !important;
|
border-end-end-radius: 8px !important;
|
||||||
border-end-start-radius: 8px !important;
|
border-end-start-radius: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-cell-fix {
|
.chessTable .ant-table-cell-fix {
|
||||||
background-color: #f8fafc !important;
|
background-color: #f8fafc !important;
|
||||||
}
|
}
|
||||||
.resRow {
|
.resRow {
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
.empty-cell {
|
.empty-cell {
|
||||||
background-color: #f2f4f7;
|
background-color: #f2f4f7;
|
||||||
}
|
}
|
||||||
.ant-table-tbody > tr:hover > td.empty-cell {
|
.chessTable .ant-table-tbody > tr:hover > td.empty-cell {
|
||||||
background-color: #f2f4f7 !important;
|
background-color: #f2f4f7 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-summary {
|
.chessTable .ant-table-summary {
|
||||||
border-end-end-radius: 8px !important;
|
border-end-end-radius: 8px !important;
|
||||||
border-end-start-radius: 8px !important;
|
border-end-start-radius: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-cell-fix {
|
.chessTable .ant-table-cell-fix {
|
||||||
background-color: #f8fafc !important;
|
background-color: #f8fafc !important;
|
||||||
}
|
}
|
||||||
.resRow {
|
.chessTable .resRow {
|
||||||
background-color: #e6f4ea !important ;
|
background-color: #e6f4ea !important ;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -121,6 +121,7 @@ export const ConsolidationChessTable: React.FC<ConsolidationChessTableI> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Table<TableRow>
|
<Table<TableRow>
|
||||||
|
className='chessTable'
|
||||||
dataSource={data?.companies || []}
|
dataSource={data?.companies || []}
|
||||||
columns={columns}
|
columns={columns}
|
||||||
rowKey='id'
|
rowKey='id'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user