Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

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 @@ -69,17 +69,17 @@ const getStyle = (
&,
> td {
background: ${genLinerGradient(rowStyle.background)};
border-bottom:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
border-right:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
// border-bottom:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
// border-right:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
}
}

> tr:nth-of-type(2n) {
&,
> td {
background: ${alternateBackground};
border-bottom:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
border-right:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
// border-bottom:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
// border-right:${rowStyle.borderWidth} ${rowStyle.borderStyle} ${rowStyle.border} !important;
}
}

Expand Down Expand Up @@ -192,11 +192,14 @@ const TableWrapper = styled.div<{
}

.ant-table {
background: ${(props) => props.$style.background};
overflow-y:scroll;
background: ${(props) =>props.$style.background};
.ant-table-container {
border-left: unset;
border-top: none !important;
border-inline-start: none !important;
overflow-y:scroll;
height:300px;

&::after {
box-shadow: none !important;
Expand All @@ -221,7 +224,7 @@ const TableWrapper = styled.div<{
border-color: ${(props) => props.$headerStyle.border};
border-width: ${(props) => props.$headerStyle.borderWidth};
color: ${(props) => props.$headerStyle.headerText};
border-inline-end: ${(props) => `${props.$headerStyle.borderWidth} solid ${props.$headerStyle.border}`} !important;
// border-inline-end: ${(props) => `${props.$headerStyle.borderWidth} solid ${props.$headerStyle.border}`} !important;
${(props) =>
props.$fixedHeader && `
position: sticky;
Expand Down Expand Up @@ -269,6 +272,7 @@ const TableWrapper = styled.div<{

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

thead > tr:first-child {
Expand All @@ -278,7 +282,7 @@ const TableWrapper = styled.div<{
}

tbody > tr > td:last-child {
border-right: unset;
border-right: unset !important;
}

.ant-empty-img-simple-g {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ export type RowHeightViewType = (param: {
const tableChildrenMap = {
// hideBordered: BoolControl,
showHeaderGridBorder: BoolControl,
showRowGridBorder: BoolControl,
showHRowGridBorder: BoolControl,
showRowGridBorder: withDefault(BoolControl,true),
showHRowGridBorder: withDefault(BoolControl,true),
hideHeader: BoolControl,
fixedHeader: BoolControl,
autoHeight: withDefault(AutoHeightControl, "auto"),
Expand Down
Loading