feat(BS&PL): add sticky to account column.

This commit is contained in:
a.bouhuolia
2022-02-03 17:03:24 +02:00
parent f204b81407
commit 47f6845633
3 changed files with 5 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ const accountNameMapper = R.curry((data, column) => {
className: column.key,
textOverview: true,
width: Math.max(width, 300),
sticky: Align.Left,
};
});

View File

@@ -306,6 +306,7 @@ const accountNameColumn = R.curry((data, column) => {
className: column.key,
textOverview: true,
width: Math.max(width, 300),
sticky: Align.Left,
};
});

View File

@@ -353,11 +353,11 @@
}
[data-sticky-last-left-td] {
// box-shadow: 2px 0px 3px #ccc;
}
[data-sticky-first-right-td] {
// box-shadow: -2px 0px 3px #ccc;
}
}
@@ -390,7 +390,7 @@
}
.tbody .tr .td {
background: transparent;
background: #fff;
padding: 0.5rem 0.5rem;
border-bottom: 0;
}