Merge remote-tracking branch 'origin/develop' into chore/2825-buttons-floating-over-table-rows

This commit is contained in:
maciek
2023-03-06 14:49:24 +01:00
2 changed files with 25 additions and 24 deletions
+20 -20
View File
@@ -104,7 +104,7 @@
"tranche_end": "2023-04-06T00:00:00.000Z",
"total_added": "14099",
"total_removed": "0",
"locked_amount": "13982.940131421744864",
"locked_amount": "13868.6594825268810079",
"deposits": [
{
"amount": "30",
@@ -2761,7 +2761,7 @@
"tranche_end": "2023-12-05T00:00:00.000Z",
"total_added": "86666.297",
"total_removed": "0",
"locked_amount": "64998.4915697280591236161",
"locked_amount": "64938.8287936033066636389",
"deposits": [
{
"amount": "86666.297",
@@ -2827,7 +2827,7 @@
"tranche_end": "2023-06-01T00:00:00.000Z",
"total_added": "2500",
"total_removed": "0",
"locked_amount": "1191.549654049654",
"locked_amount": "1188.09809981684975",
"deposits": [
{
"amount": "2500",
@@ -2948,7 +2948,7 @@
"tranche_end": "2023-09-01T00:00:00.000Z",
"total_added": "17500",
"total_removed": "0",
"locked_amount": "17000.1861916264105",
"locked_amount": "16976.28793025362225",
"deposits": [
{
"amount": "12500",
@@ -3215,7 +3215,7 @@
"tranche_end": "2023-08-01T00:00:00.000Z",
"total_added": "37500",
"total_removed": "3639.24714135",
"locked_amount": "30610.11356660527875",
"locked_amount": "30558.054212707185",
"deposits": [
{
"amount": "7500",
@@ -3414,7 +3414,7 @@
"tranche_end": "2023-12-05T00:00:00.000Z",
"total_added": "129999.45",
"total_removed": "0",
"locked_amount": "64939.188624594488977815",
"locked_amount": "64879.58028324589941117",
"deposits": [
{
"amount": "129999.45",
@@ -3480,7 +3480,7 @@
"tranche_end": "2023-09-03T00:00:00.000Z",
"total_added": "62600",
"total_removed": "0",
"locked_amount": "30998.97371892440273",
"locked_amount": "30955.878652968038482",
"deposits": [
{
"amount": "10000",
@@ -3673,7 +3673,7 @@
"tranche_end": "2023-09-17T00:00:00.000Z",
"total_added": "5000",
"total_removed": "0",
"locked_amount": "2667.737189244038",
"locked_amount": "2664.295091324201",
"deposits": [
{
"amount": "5000",
@@ -3884,7 +3884,7 @@
"tranche_end": "2023-04-05T00:00:00.000Z",
"total_added": "97499.58",
"total_removed": "0",
"locked_amount": "6921.4963045876377940008",
"locked_amount": "6863.026074492837718089",
"deposits": [
{
"amount": "97499.58",
@@ -3917,7 +3917,7 @@
"tranche_end": "2023-04-05T00:00:00.000Z",
"total_added": "135173.4239508",
"total_removed": "98230.390980249184455396",
"locked_amount": "9460.49050188470449793150862",
"locked_amount": "9380.571791809224940956129324",
"deposits": [
{
"amount": "135173.4239508",
@@ -3963,7 +3963,7 @@
"tranche_end": "2023-04-05T00:00:00.000Z",
"total_added": "32499.86",
"total_removed": "0",
"locked_amount": "2911.7539674921900567086",
"locked_amount": "2887.156551418174054713",
"deposits": [
{
"amount": "32499.86",
@@ -3996,7 +3996,7 @@
"tranche_end": "2023-04-05T00:00:00.000Z",
"total_added": "10833.29",
"total_removed": "0",
"locked_amount": "947.7476614270151353672",
"locked_amount": "939.741441182597763073",
"deposits": [
{
"amount": "10833.29",
@@ -4029,7 +4029,7 @@
"tranche_end": "2023-04-05T00:00:00.000Z",
"total_added": "22749.93",
"total_removed": "4720.860935375",
"locked_amount": "3542.892434031412717479",
"locked_amount": "3512.9633946007858719399",
"deposits": [
{
"amount": "6500",
@@ -4181,7 +4181,7 @@
"tranche_end": "2023-05-01T00:00:00.000Z",
"total_added": "22500",
"total_removed": "5176.28289975",
"locked_amount": "6929.60405156537625",
"locked_amount": "6898.368439226519325",
"deposits": [
{
"amount": "7500",
@@ -4500,7 +4500,7 @@
"tranche_end": "2023-06-02T00:00:00.000Z",
"total_added": "1939928.38",
"total_removed": "928642.9598472029154",
"locked_amount": "466352.483444119808909542",
"locked_amount": "465016.998755833268669054",
"deposits": [
{
"amount": "1852091.69",
@@ -36891,7 +36891,7 @@
"tranche_end": "2023-06-05T00:00:00.000Z",
"total_added": "3732368.4671",
"total_removed": "618385.665327542135993",
"locked_amount": "741122.72509331228813693143",
"locked_amount": "739070.550093799918600823126",
"deposits": [
{
"amount": "1998.95815",
@@ -38251,7 +38251,7 @@
"tranche_end": "2023-12-05T00:00:00.000Z",
"total_added": "15870102.715470999700000001",
"total_removed": "588645.45995589773910452",
"locked_amount": "7927661.1841947058519192726441313236036767",
"locked_amount": "7920384.3034086642682516019633546259610706",
"deposits": [
{
"amount": "16249.93",
@@ -44158,7 +44158,7 @@
"tranche_end": "2023-05-05T00:00:00.000Z",
"total_added": "14597706.0446472999",
"total_removed": "5580710.615452109580396656",
"locked_amount": "1597320.960363656005279201233314886",
"locked_amount": "1590602.990485304826063424761930942",
"deposits": [
{
"amount": "129284.449",
@@ -51304,7 +51304,7 @@
"tranche_end": "2023-04-05T00:00:00.000Z",
"total_added": "5778205.3912159303",
"total_removed": "3077573.36197477479025324",
"locked_amount": "314207.7684162386449535136951464068",
"locked_amount": "311553.4578873581959790921124072965",
"deposits": [
{
"amount": "552496.6455",
@@ -53376,7 +53376,7 @@
"tranche_end": "2023-06-05T00:00:00.000Z",
"total_added": "472355.6199999996",
"total_removed": "35108.9309805010685",
"locked_amount": "117435.132229142466206264400202944",
"locked_amount": "117109.953369737365406394633789936",
"deposits": [
{
"amount": "3000",
+5 -4
View File
@@ -88,9 +88,9 @@ const getRowsToRender = (
return selectedRows;
};
// 17px of row height plus 5px gap
export const gridGap = 5;
export const rowHeight = 22;
// 17px of row height plus 4px gap
export const gridGap = 4;
export const rowHeight = 21;
// top padding to make space for header
const headerPadding = 30;
// bottom padding to make space for footer
@@ -393,7 +393,8 @@ export const Orderbook = ({
numberOfRows * rowHeight +
headerPadding +
footerPadding +
-viewportHeight
-viewportHeight -
gridGap
)
);
if (scrollTopRef.current !== priceCenterScrollOffset) {