Skip to content

[FIX] Table Column Cell text overlap #1272 #1597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const TableWrapper = styled.div<{
position: -webkit-sticky;
// top: ${props.$fixedToolbar ? '47px' : '0'};
top: 0;
z-index: 99;
z-index: 2;
`
}
> tr {
Expand All @@ -256,7 +256,14 @@ const TableWrapper = styled.div<{
color: ${(props) => props.$headerStyle.headerText};
// border-inline-end: ${(props) => `${props.$headerStyle.borderWidth} solid ${props.$headerStyle.border}`} !important;


/* Proper styling for fixed header cells */
&.ant-table-cell-fix-left, &.ant-table-cell-fix-right {
z-index: 1;
background: ${(props) => props.$headerStyle.headerBackground};
}



> div {
margin: ${(props) => props.$headerStyle.margin};

Expand Down Expand Up @@ -295,7 +302,27 @@ const TableWrapper = styled.div<{

td {
padding: 0px 0px;
// ${(props) => props.$showHRowGridBorder ?'border-bottom: 1px solid #D7D9E0 !important;': `border-bottom: 0px;`}
// ${(props) => props.$showHRowGridBorder ? 'border-bottom: 1px solid #D7D9E0 !important;': `border-bottom: 0px;`}

/* Proper styling for Fixed columns in the table body */
&.ant-table-cell-fix-left, &.ant-table-cell-fix-right {
z-index: 1;
background: inherit;
background-color: ${(props) => props.$style.background};
transition: background-color 0.3s;
}

}

/* Fix for selected and hovered rows */
tr.ant-table-row-selected td.ant-table-cell-fix-left,
tr.ant-table-row-selected td.ant-table-cell-fix-right {
background-color: ${(props) => props.$rowStyle?.selectedRowBackground || '#e6f7ff'} !important;
}

tr.ant-table-row:hover td.ant-table-cell-fix-left,
tr.ant-table-row:hover td.ant-table-cell-fix-right {
background-color: ${(props) => props.$rowStyle?.hoverRowBackground || '#f5f5f5'} !important;
}

thead > tr:first-child {
Expand Down Expand Up @@ -428,7 +455,7 @@ const TableTd = styled.td<{
}

&:active {
color: ${(props) => props.$linkStyle?.activeText}};
color: ${(props) => props.$linkStyle?.activeText};
}
}
}
Expand Down
Loading