gatsby-matrix-theme 48.0.0 → 48.0.1
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/CHANGELOG.md +24 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/operator-card/template-one/index.js +1 -1
- package/src/components/atoms/cards/operator-card/template-one/template-one.module.scss +27 -25
- package/src/components/atoms/cards/operator-card/template-two/index.js +1 -1
- package/src/components/atoms/cards/operator-card/template-two/template-two.module.scss +29 -26
- package/src/components/atoms/cards/popup-card/index.js +3 -1
- package/src/components/atoms/recommended-operators/index.js +3 -3
- package/src/components/atoms/select/index.js +4 -2
- package/src/components/molecules/header/variants/default/template-two/index.js +1 -3
- package/src/components/molecules/header/variants/default/template-two/template-two.test.js +1 -1
- package/src/components/molecules/header/variants/slot/template-two/index.js +1 -1
- package/src/components/molecules/horse-calculator/index.js +17 -2
- package/src/components/molecules/operator-summary/template-two/index.js +1 -1
- package/src/gatsby-core-theme/components/molecules/tnc/tnc.module.scss +1 -1
- package/storybook/public/{388.bb0844ff.iframe.bundle.js → 388.f0c52156.iframe.bundle.js} +4 -4
- package/storybook/public/{388.bb0844ff.iframe.bundle.js.map → 388.f0c52156.iframe.bundle.js.map} +1 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.ba028978.iframe.bundle.js +1 -0
- package/storybook/public/project.json +1 -1
- package/storybook/public/main.b3514dc7.iframe.bundle.js +0 -1
- /package/storybook/public/{388.bb0844ff.iframe.bundle.js.LICENSE.txt → 388.f0c52156.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [48.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v48.0.0...v48.0.1) (2024-07-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix tooltip width ([a8a0998](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a8a0998e816a21b9e7d5bc9eeb23b6c6e6457efc))
|
|
7
|
+
* test ([aa217e8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa217e806f13fd66c8a937328dd9e73e381229b5))
|
|
8
|
+
* updated core version and tnc implementation ([c4ec339](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c4ec33977f4874a4b8f3a352cbad6d608e294c4e))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Code Refactoring
|
|
12
|
+
|
|
13
|
+
* tooltip width ([ec2999d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ec2999d64b3acdf639b762ca8f78d8b0394b3e30))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Config
|
|
17
|
+
|
|
18
|
+
* update theme ([9f67ef7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9f67ef74664f2f45f2d161aa8cc3374698d80046))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* Merge branch 'tm-4453-tnc-update' into 'master' ([bf02eeb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bf02eeb8e6793f2e0117c863e73100d2c05bb39f))
|
|
22
|
+
* Merge branch 'master' into tm-4453-tnc-update ([2953193](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2953193702bc765448742e8235064f72dd18c1c2))
|
|
23
|
+
* Merge branch 'tm-4544-horse-calculator' into 'master' ([6612289](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6612289d0cb08fb5848d423e81dc112df328564b))
|
|
24
|
+
|
|
1
25
|
# [48.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v47.0.3...v48.0.0) (2024-07-11)
|
|
2
26
|
|
|
3
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "48.0.
|
|
3
|
+
"version": "48.0.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@react-icons/all-files": "^4.1.0",
|
|
27
27
|
"gatsby": "^5.11.0",
|
|
28
|
-
"gatsby-core-theme": "34.0.
|
|
28
|
+
"gatsby-core-theme": "34.0.6",
|
|
29
29
|
"gatsby-plugin-sharp": "^5.11.0",
|
|
30
30
|
"gatsby-transformer-sharp": "^5.11.0",
|
|
31
31
|
"prop-types": "15.7.2",
|
|
@@ -57,24 +57,7 @@
|
|
|
57
57
|
width: 100%;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
& > div:last-child:not(.cardFooter){
|
|
61
|
-
height: 45px;
|
|
62
|
-
overflow: auto;
|
|
63
|
-
padding-right: 1.6rem;
|
|
64
|
-
|
|
65
|
-
&::-webkit-scrollbar {
|
|
66
|
-
-webkit-appearance: none;
|
|
67
|
-
width: 0.4rem;
|
|
68
|
-
}
|
|
69
|
-
&::-webkit-scrollbar-thumb {
|
|
70
|
-
border-radius: 2px;
|
|
71
|
-
background-color: var(--color-57);
|
|
72
|
-
}
|
|
73
|
-
&::-webkit-scrollbar-track {
|
|
74
|
-
background: var(--color-52);
|
|
75
|
-
border-radius: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
60
|
+
& > div:last-child:not(.cardFooter) {
|
|
78
61
|
padding: 0.8rem 1.6rem;
|
|
79
62
|
border-top: 1.5px solid var(--color-52);
|
|
80
63
|
background: var(--color-56);
|
|
@@ -84,13 +67,32 @@
|
|
|
84
67
|
font-size: 1rem;
|
|
85
68
|
font-weight: 400;
|
|
86
69
|
line-height: 1.5rem;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
70
|
+
|
|
71
|
+
> div{
|
|
72
|
+
max-height: 45px;
|
|
73
|
+
overflow: auto;
|
|
74
|
+
padding-right: 1.6rem;
|
|
75
|
+
|
|
76
|
+
&::-webkit-scrollbar {
|
|
77
|
+
-webkit-appearance: none;
|
|
78
|
+
width: 0.4rem;
|
|
79
|
+
}
|
|
80
|
+
&::-webkit-scrollbar-thumb {
|
|
81
|
+
border-radius: 2px;
|
|
82
|
+
background-color: var(--color-57);
|
|
83
|
+
}
|
|
84
|
+
&::-webkit-scrollbar-track {
|
|
85
|
+
background: var(--color-52);
|
|
86
|
+
border-radius: 2px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
a {
|
|
90
|
+
font-size: 1rem;
|
|
91
|
+
font-weight: 400;
|
|
92
|
+
line-height: 1.5rem;
|
|
93
|
+
margin: 0;
|
|
94
|
+
width: auto;
|
|
95
|
+
}
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
98
|
}
|
|
@@ -122,7 +122,7 @@ const TemplateTwo = ({
|
|
|
122
122
|
reviewPath={reviewPath}
|
|
123
123
|
/>
|
|
124
124
|
</div>
|
|
125
|
-
<Tnc operator={item?.relation} />
|
|
125
|
+
<Tnc operator={item?.relation} isFixed />
|
|
126
126
|
|
|
127
127
|
{hasVariableComponent && (
|
|
128
128
|
<VariableComponent item={item} page={page} featured={false} template="templateTwo" />
|
|
@@ -62,25 +62,36 @@
|
|
|
62
62
|
@include flex-direction(column);
|
|
63
63
|
|
|
64
64
|
& > div:last-child:not(.cardContent){
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
65
|
+
> div{
|
|
66
|
+
max-height: 45px;
|
|
67
|
+
overflow: auto;
|
|
68
|
+
padding-right: 1.6rem;
|
|
69
|
+
|
|
70
|
+
a {
|
|
71
|
+
font-size: 1rem;
|
|
72
|
+
font-weight: 400;
|
|
73
|
+
line-height: 1.5rem;
|
|
74
|
+
margin: 0;
|
|
75
|
+
width: auto;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&::-webkit-scrollbar {
|
|
79
|
+
-webkit-appearance: none;
|
|
80
|
+
width: 0.4rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&::-webkit-scrollbar-thumb {
|
|
84
|
+
border-radius: 2px;
|
|
85
|
+
background-color: var(--color-57);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Track */
|
|
89
|
+
&::-webkit-scrollbar-track {
|
|
90
|
+
background: var(--color-52);
|
|
91
|
+
border-radius: 2px;
|
|
92
|
+
}
|
|
83
93
|
}
|
|
94
|
+
|
|
84
95
|
|
|
85
96
|
padding: 0.8rem 1.6rem;
|
|
86
97
|
border-top: 1.5px solid var(--color-52);
|
|
@@ -91,14 +102,6 @@
|
|
|
91
102
|
font-size: 1rem;
|
|
92
103
|
font-weight: 400;
|
|
93
104
|
line-height: 1.5rem;
|
|
94
|
-
|
|
95
|
-
a {
|
|
96
|
-
font-size: 1rem;
|
|
97
|
-
font-weight: 400;
|
|
98
|
-
line-height: 1.5rem;
|
|
99
|
-
margin: 0;
|
|
100
|
-
width: auto;
|
|
101
|
-
}
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
107
|
|
|
@@ -20,6 +20,7 @@ const PopupCard = ({
|
|
|
20
20
|
buttonType = 'primary',
|
|
21
21
|
template,
|
|
22
22
|
showRoundedRating = false,
|
|
23
|
+
tncFixed = true,
|
|
23
24
|
width = '98',
|
|
24
25
|
height = '98',
|
|
25
26
|
}) => {
|
|
@@ -68,7 +69,7 @@ const PopupCard = ({
|
|
|
68
69
|
/>
|
|
69
70
|
)}
|
|
70
71
|
</div>
|
|
71
|
-
<Tnc operator={item} />
|
|
72
|
+
<Tnc operator={item} isFixed={tncFixed} />
|
|
72
73
|
</div>
|
|
73
74
|
);
|
|
74
75
|
};
|
|
@@ -106,6 +107,7 @@ PopupCard.propTypes = {
|
|
|
106
107
|
showReviewLink: PropTypes.bool,
|
|
107
108
|
template: PropTypes.string,
|
|
108
109
|
buttonSize: PropTypes.string,
|
|
110
|
+
tncFixed: PropTypes.bool,
|
|
109
111
|
buttonType: PropTypes.string,
|
|
110
112
|
showRoundedRating: PropTypes.bool,
|
|
111
113
|
width: PropTypes.string,
|
|
@@ -12,12 +12,12 @@ import styles from './recommended-operators.module.scss';
|
|
|
12
12
|
|
|
13
13
|
const RecommendedOperators = ({
|
|
14
14
|
showCouponCode = false,
|
|
15
|
-
showTerms = false,
|
|
16
15
|
showRating = false,
|
|
17
16
|
showAuthor = false,
|
|
18
17
|
title = 'Recommended Casinos:',
|
|
19
18
|
buttonType = 'primary',
|
|
20
19
|
operators,
|
|
20
|
+
tncFixed = false,
|
|
21
21
|
operatorLogoWidth,
|
|
22
22
|
operatorLogoHeight,
|
|
23
23
|
}) => (
|
|
@@ -49,7 +49,7 @@ const RecommendedOperators = ({
|
|
|
49
49
|
<Bonus item={operator} tracker="main" />
|
|
50
50
|
</PrettyLink>
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
<TermsConditions operator={operator} isFixed={tncFixed} />
|
|
53
53
|
</div>
|
|
54
54
|
{showCouponCode && (
|
|
55
55
|
<div className={styles.couponCtaContainer}>
|
|
@@ -81,7 +81,7 @@ export default RecommendedOperators;
|
|
|
81
81
|
RecommendedOperators.propTypes = {
|
|
82
82
|
showCouponCode: PropTypes.bool,
|
|
83
83
|
showRating: PropTypes.bool,
|
|
84
|
-
|
|
84
|
+
tncFixed: PropTypes.bool,
|
|
85
85
|
showAuthor: PropTypes.bool,
|
|
86
86
|
title: PropTypes.string,
|
|
87
87
|
buttonType: PropTypes.string,
|
|
@@ -16,6 +16,7 @@ export default function Select({
|
|
|
16
16
|
refObj,
|
|
17
17
|
index,
|
|
18
18
|
tooltip = null,
|
|
19
|
+
tooltipMinWidth = 10,
|
|
19
20
|
}) {
|
|
20
21
|
if (!label) {
|
|
21
22
|
return (
|
|
@@ -28,7 +29,7 @@ export default function Select({
|
|
|
28
29
|
{options.map((option) => option)}
|
|
29
30
|
</select>
|
|
30
31
|
{tooltip && (
|
|
31
|
-
<Tooltip content={useTranslate(`${id}_tooltip`, tooltip)} minWidth={
|
|
32
|
+
<Tooltip content={useTranslate(`${id}_tooltip`, tooltip)} minWidth={tooltipMinWidth}>
|
|
32
33
|
<BsQuestionCircle size="2.6rem" title="Question Icon" />
|
|
33
34
|
</Tooltip>
|
|
34
35
|
)}
|
|
@@ -41,7 +42,7 @@ export default function Select({
|
|
|
41
42
|
<div>
|
|
42
43
|
{useTranslate(id, label)}
|
|
43
44
|
{tooltip && (
|
|
44
|
-
<Tooltip content={useTranslate(`${id}_tooltip`, tooltip)} minWidth={
|
|
45
|
+
<Tooltip content={useTranslate(`${id}_tooltip`, tooltip)} minWidth={tooltipMinWidth}>
|
|
45
46
|
<BsQuestionCircle size="2.6rem" title="Question Icon" />
|
|
46
47
|
</Tooltip>
|
|
47
48
|
)}
|
|
@@ -67,4 +68,5 @@ Select.propTypes = {
|
|
|
67
68
|
refObj: PropTypes.func,
|
|
68
69
|
index: PropTypes.number,
|
|
69
70
|
tooltip: PropTypes.string,
|
|
71
|
+
tooltipMinWidth: PropTypes.number,
|
|
70
72
|
};
|
|
@@ -34,9 +34,7 @@ export default function TemplateTwo({ extraFields, imageObj }) {
|
|
|
34
34
|
icon={<FaArrowRight title="Right-pointing Arrow Icon" />}
|
|
35
35
|
/>
|
|
36
36
|
)}
|
|
37
|
-
<
|
|
38
|
-
<Tnc operator={operator} />
|
|
39
|
-
</span>
|
|
37
|
+
<Tnc operator={operator} />
|
|
40
38
|
</div>
|
|
41
39
|
{imageObj && (
|
|
42
40
|
<div className={styles.imgContainer}>
|
|
@@ -79,7 +79,7 @@ describe('Show template two', () => {
|
|
|
79
79
|
});
|
|
80
80
|
test('show correct tcn', () => {
|
|
81
81
|
const { container } = renderComponent(data);
|
|
82
|
-
expect(container.querySelector('.tnc
|
|
82
|
+
expect(container.querySelector('.tnc').innerHTML).toBe(
|
|
83
83
|
'18+ New Players only. Play responsibly.'
|
|
84
84
|
);
|
|
85
85
|
});
|
|
@@ -49,7 +49,7 @@ const TemplateTwo = ({ page, image, width = '259', height = '259' }) => {
|
|
|
49
49
|
operator={headerBonus?.value}
|
|
50
50
|
template={page?.template}
|
|
51
51
|
/>
|
|
52
|
-
<Tnc operator={headerBonus?.value}
|
|
52
|
+
<Tnc operator={headerBonus?.value} isFixed />
|
|
53
53
|
</>
|
|
54
54
|
)}
|
|
55
55
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
5
5
|
/* eslint-disable array-callback-return */
|
|
6
6
|
/* eslint-disable no-return-assign */
|
|
7
|
-
import React, { useRef, useState, useEffect, useCallback
|
|
7
|
+
import React, { useRef, useState, useEffect, useCallback } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import Button from 'gatsby-core-theme/src/components/atoms/button/button';
|
|
10
10
|
import useTranslate from '~hooks/useTranslate/useTranslate';
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from '../../../constants/horse-racing-calculator';
|
|
31
31
|
import styles from './horse-calculator.module.scss';
|
|
32
32
|
|
|
33
|
-
const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
33
|
+
const HorseCalculator = ({ mainTitle = 'Bet Calculator', tooltipMinWidth = 20 }) => {
|
|
34
34
|
const numSelection = 20;
|
|
35
35
|
|
|
36
36
|
const outcomesTableRefs = useRef([]);
|
|
@@ -271,6 +271,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
271
271
|
<option value={index}>{type.name}</option>
|
|
272
272
|
))}
|
|
273
273
|
refObj={betTypeRef}
|
|
274
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
274
275
|
/>
|
|
275
276
|
|
|
276
277
|
<Select
|
|
@@ -284,6 +285,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
284
285
|
{useTranslate('no', 'No')}
|
|
285
286
|
</option>,
|
|
286
287
|
]}
|
|
288
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
287
289
|
/>
|
|
288
290
|
|
|
289
291
|
{eachWay === 'Yes' && activeBetType.multiple_options && (
|
|
@@ -306,6 +308,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
306
308
|
)}
|
|
307
309
|
</option>,
|
|
308
310
|
]}
|
|
311
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
309
312
|
/>
|
|
310
313
|
)}
|
|
311
314
|
|
|
@@ -319,6 +322,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
319
322
|
<option value={i + 1}>{i + 1}</option>
|
|
320
323
|
))}
|
|
321
324
|
refObj={numSelectionRef}
|
|
325
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
322
326
|
/>
|
|
323
327
|
)}
|
|
324
328
|
|
|
@@ -333,6 +337,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
333
337
|
{useTranslate('no', 'No')}
|
|
334
338
|
</option>,
|
|
335
339
|
]}
|
|
340
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
336
341
|
/>
|
|
337
342
|
</div>
|
|
338
343
|
<div className={styles.stakeType}>
|
|
@@ -348,6 +353,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
348
353
|
{useTranslate('horsecalc_staketype_totalcombinedstake', 'Total Combined Stake')}
|
|
349
354
|
</option>,
|
|
350
355
|
]}
|
|
356
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
351
357
|
/>
|
|
352
358
|
{!(activeBetType.name === 'Accumulator' && foldOption === '2') && (
|
|
353
359
|
<label htmlFor="stake">
|
|
@@ -395,6 +401,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
395
401
|
<option value={option.value}>{option.name}</option>
|
|
396
402
|
))}
|
|
397
403
|
index={index}
|
|
404
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
398
405
|
/>
|
|
399
406
|
</td>
|
|
400
407
|
<td
|
|
@@ -430,6 +437,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
430
437
|
options={placeOddsoptions.map((option) => (
|
|
431
438
|
<option value={option}>{option}</option>
|
|
432
439
|
))}
|
|
440
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
433
441
|
/>
|
|
434
442
|
</td>
|
|
435
443
|
)}
|
|
@@ -441,6 +449,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
441
449
|
options={ruleFourOptions.map((option) => (
|
|
442
450
|
<option value={option}>{option}</option>
|
|
443
451
|
))}
|
|
452
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
444
453
|
/>
|
|
445
454
|
</td>
|
|
446
455
|
)}
|
|
@@ -463,6 +472,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
463
472
|
options={[...Array(16)].map((e, i) => (
|
|
464
473
|
<option value={i + 1}>{i + 1}</option>
|
|
465
474
|
))}
|
|
475
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
466
476
|
/>
|
|
467
477
|
<Select
|
|
468
478
|
id="deadheatrunners"
|
|
@@ -471,6 +481,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
471
481
|
options={[...Array(16)].map((e, i) => (
|
|
472
482
|
<option value={i + 1}>{i + 1}</option>
|
|
473
483
|
))}
|
|
484
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
474
485
|
/>
|
|
475
486
|
<Select
|
|
476
487
|
id="placesoffered"
|
|
@@ -479,6 +490,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
479
490
|
options={[...Array(16)].map((e, i) => (
|
|
480
491
|
<option value={i + 1}>{i + 1}</option>
|
|
481
492
|
))}
|
|
493
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
482
494
|
/>
|
|
483
495
|
</div>
|
|
484
496
|
</td>
|
|
@@ -503,6 +515,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
503
515
|
<option value="1">{useTranslate('disabled', 'Disabled')}</option>,
|
|
504
516
|
<option value="2">{useTranslate('enabled', 'Enabled')}</option>,
|
|
505
517
|
]}
|
|
518
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
506
519
|
/>
|
|
507
520
|
</div>
|
|
508
521
|
{foldOption === '2' && (
|
|
@@ -577,6 +590,7 @@ const HorseCalculator = ({ mainTitle = 'Bet Calculator' }) => {
|
|
|
577
590
|
{useTranslate('horsecalc_quintuple_odds', 'Quintuple Odds')}
|
|
578
591
|
</option>,
|
|
579
592
|
]}
|
|
593
|
+
tooltipMinWidth={tooltipMinWidth}
|
|
580
594
|
/>
|
|
581
595
|
</div>
|
|
582
596
|
)}
|
|
@@ -617,4 +631,5 @@ export default HorseCalculator;
|
|
|
617
631
|
|
|
618
632
|
HorseCalculator.propTypes = {
|
|
619
633
|
mainTitle: PropTypes.string,
|
|
634
|
+
tooltipMinWidth: PropTypes.number,
|
|
620
635
|
};
|