back-testing-react 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/back-testing-payout-info/back-testing-payout-info.css +5 -2
- package/src/components/back-testing-stepper/back-testing-stepper.tsx +1 -1
- package/src/components/back-testing-wizard/back-testing-wizard.stories.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
.payout-info-container {
|
|
2
|
+
--container-offset:10px;
|
|
2
3
|
padding:0;
|
|
4
|
+
height:calc(100% - var(--container-offset));
|
|
3
5
|
font-family: system-ui, sans-serif;
|
|
4
6
|
}
|
|
5
7
|
|
|
@@ -96,11 +98,12 @@
|
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
.payout-info-container .scroll-container{
|
|
99
|
-
|
|
101
|
+
|
|
102
|
+
height: calc(100% - 2.5em - var(--container-offset));
|
|
100
103
|
overflow-y:hidden;
|
|
101
104
|
scrollbar-gutter: stable;
|
|
102
105
|
position: relative;
|
|
103
|
-
top:
|
|
106
|
+
top: var(--container-offset);
|
|
104
107
|
}
|
|
105
108
|
|
|
106
109
|
.payout-info-container .scroll-container:hover{
|
|
@@ -264,7 +264,7 @@ const BackTestingStepper = (props: BackTestingStepperProps) => {
|
|
|
264
264
|
|
|
265
265
|
return(
|
|
266
266
|
<div className="stepper-container">
|
|
267
|
-
<Box sx={{ maxWidth: 400 }}>
|
|
267
|
+
<Box sx={{ maxWidth: 400, height: 'calc(100% - 1em)' }}>
|
|
268
268
|
{wizardStep !== PayoutWizardStepType.DISPLAY_PAYOUTS && <Stepper activeStep={activeStep} orientation="vertical">
|
|
269
269
|
{steps.map((step, index) => (
|
|
270
270
|
<Step key={step.label}>
|
|
@@ -10,8 +10,8 @@ const Template: StoryFn<typeof BackTestingWizard> = (args) => <div style={{width
|
|
|
10
10
|
|
|
11
11
|
export const BackTestingWizardTest = Template.bind({});
|
|
12
12
|
BackTestingWizardTest.args = {
|
|
13
|
-
mapAccessToken:
|
|
14
|
-
apiAccessToken:
|
|
13
|
+
mapAccessToken:"pk.eyJ1IjoiYWR1YnUwMDEiLCJhIjoiY20ydHlsaWtnMDhpazJpcHl4eXJ6aGlsaSJ9.lYnnDc62JXIV-1-im9NJfg",
|
|
14
|
+
apiAccessToken:"oIYWjLN76C1MAx8G10yWp9j1GnO2UDaB1PP0tber",
|
|
15
15
|
env:'uat',
|
|
16
16
|
selectedProxyPayoutOptionIndex:0,
|
|
17
17
|
proxyPayoutOptions: [
|