fixed style bug

This commit is contained in:
Grog 2026-10-22 10:26:31 +03:00
parent a0ef90159e
commit 512cbf6cea
5 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,3 @@
.ant-tree-switcher-noop {
.filterTree .ant-tree-switcher-noop {
display: none !important;
}

View File

@ -116,6 +116,7 @@ export const TreeFilterDropdown: React.FC<TreeFilterDropdownProps> = ({
<div style={{ maxHeight: 280, overflowY: 'auto', border: '1px solid #f0f0f0', borderRadius: 8, padding: 8 }}>
<Tree
className='filterTree'
checkable
selectable={false}
treeData={filteredTreeData}

View File

@ -1,9 +1,9 @@
.ant-table-summary {
.chessTable .ant-table-summary {
border-end-end-radius: 8px !important;
border-end-start-radius: 8px !important;
}
.ant-table-cell-fix {
.chessTable .ant-table-cell-fix {
background-color: #f8fafc !important;
}
.resRow {

View File

@ -1,18 +1,18 @@
.empty-cell {
background-color: #f2f4f7;
}
.ant-table-tbody > tr:hover > td.empty-cell {
.chessTable .ant-table-tbody > tr:hover > td.empty-cell {
background-color: #f2f4f7 !important;
}
.ant-table-summary {
.chessTable .ant-table-summary {
border-end-end-radius: 8px !important;
border-end-start-radius: 8px !important;
}
.ant-table-cell-fix {
.chessTable .ant-table-cell-fix {
background-color: #f8fafc !important;
}
.resRow {
.chessTable .resRow {
background-color: #e6f4ea !important ;
}

View File

@ -121,6 +121,7 @@ export const ConsolidationChessTable: React.FC<ConsolidationChessTableI> = ({
return (
<Table<TableRow>
className='chessTable'
dataSource={data?.companies || []}
columns={columns}
rowKey='id'