mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +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,
|
className: column.key,
|
||||||
textOverview: true,
|
textOverview: true,
|
||||||
width: Math.max(width, 300),
|
width: Math.max(width, 300),
|
||||||
|
sticky: Align.Left,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -306,6 +306,7 @@ const accountNameColumn = R.curry((data, column) => {
|
|||||||
className: column.key,
|
className: column.key,
|
||||||
textOverview: true,
|
textOverview: true,
|
||||||
width: Math.max(width, 300),
|
width: Math.max(width, 300),
|
||||||
|
sticky: Align.Left,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -353,11 +353,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
[data-sticky-last-left-td] {
|
[data-sticky-last-left-td] {
|
||||||
// box-shadow: 2px 0px 3px #ccc;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-sticky-first-right-td] {
|
[data-sticky-first-right-td] {
|
||||||
// box-shadow: -2px 0px 3px #ccc;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -390,7 +390,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tbody .tr .td {
|
.tbody .tr .td {
|
||||||
background: transparent;
|
background: #fff;
|
||||||
padding: 0.5rem 0.5rem;
|
padding: 0.5rem 0.5rem;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user