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; 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 }}> <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}

View File

@ -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 {

View File

@ -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 ;
} }

View File

@ -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'