Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb966464

Browse files
committed
[Feat]:#1868 prevent cell styles on selected row
1 parentba30103 commitb966464

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/tableStyles.ts‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ export const getStyle = (
3636
// selected row
3737
>tr:nth-of-type(2n+1).ant-table-row-selected {
3838
background:${selectedRowBackground||rowStyle.background}!important;
39-
>td.ant-table-cell {
40-
background: transparent!important;
41-
}
4239
4340
// > td.ant-table-cell-row-hover,
4441
&:hover {
@@ -48,9 +45,6 @@ export const getStyle = (
4845
4946
>tr:nth-of-type(2n).ant-table-row-selected {
5047
background:${selectedRowBackground||alternateBackground}!important;
51-
>td.ant-table-cell {
52-
background: transparent!important;
53-
}
5448
5549
// > td.ant-table-cell-row-hover,
5650
&:hover {
@@ -272,15 +266,8 @@ export const TableWrapper = styled.div.attrs<{
272266
}
273267
274268
/* Fix for selected and hovered rows */
275-
tr.ant-table-row-selected td.ant-table-cell-fix-left,
276-
tr.ant-table-row-selected td.ant-table-cell-fix-right {
277-
background-color:${(props)=>props.$rowStyle?.selectedRowBackground||'#e6f7ff'} !important;
278-
}
279269
280-
tr.ant-table-row:hover td.ant-table-cell-fix-left,
281-
tr.ant-table-row:hover td.ant-table-cell-fix-right {
282-
background-color:${(props)=>props.$rowStyle?.hoverRowBackground||'#f5f5f5'} !important;
283-
}
270+
284271
285272
thead > tr:first-child {
286273
th:last-child {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp