mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat(BS&PL): add sticky to account column.
This commit is contained in:
@@ -63,6 +63,7 @@ const accountNameMapper = R.curry((data, column) => {
|
||||
className: column.key,
|
||||
textOverview: true,
|
||||
width: Math.max(width, 300),
|
||||
sticky: Align.Left,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -306,6 +306,7 @@ const accountNameColumn = R.curry((data, column) => {
|
||||
className: column.key,
|
||||
textOverview: true,
|
||||
width: Math.max(width, 300),
|
||||
sticky: Align.Left,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user