Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d3d410f

Browse files
Merge pull request binary-com#3 from konstantinosG-deriv/css-fixes
Konstantinos/ css fixes trade types
2 parents 10a48c9 + bf333cf commit d3d410f

File tree

24 files changed

+279
-237
lines changed

24 files changed

+279
-237
lines changed

crowdin/messages.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3338,7 +3338,6 @@
33383338
"-2138295691": "What are options?",
33393339
"-1504129614": "Options are products that allow for payouts from predicting market movements, without needing to buy the underlying asset. You only need to open a position that predicts how the asset will move over a period of time. This makes it possible for people to participate in the financial markets with minimal capital investment.",
33403340
"-1746360444": "Options available on Deriv",
3341-
"-344023936": "<0>Call/Put Spreads</0> that allow you to earn up to the specified payout depending on the position of the exit spot relative to the two defined barriers.",
33423341
"-2024884579": "{{fieldName}} is required",
33433342
"-1461005658": "Please enter a valid amount, including the decimal point (.), in this format: ####.#",
33443343
"-437139044": "Input must be greater than 0",

src/components/custom/carousel/_learn-more.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Wrapper = styled.div`
1010
position: absolute;
1111
left: 0;
1212
bottom: -2rem;
13-
width: 100%;
13+
width: auto;
1414
opacity: 0;
1515
transition: opacity 0.25s;
1616

src/components/hooks/use-platform-query-param.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ export const usePlatformQueryParam = () => {
55
const [platform] = useQueryParam('platform', StringParam)
66
const platforms = ['derivgo', 'p2p']
77
const [is_deriv_go, setIsDerivGo] = useState(true)
8+
const [is_accumulators_released, setAccumulatorsRelease] = useState(false)
89
const [is_deriv_p2p, setIsDerivP2P] = useState(true)
910
const [has_platform, setHasPlatform] = useState(false)
1011

1112
useEffect(() => {
1213
setIsDerivGo(platform === 'derivgo')
1314
setIsDerivP2P(platform === 'p2p')
15+
setAccumulatorsRelease(false)
1416
setHasPlatform(platforms.includes(platform))
1517
}, [platform])
1618

17-
return { platform, has_platform, is_deriv_p2p, is_deriv_go }
19+
return { platform, has_platform, is_deriv_p2p, is_deriv_go, is_accumulators_released }
1820
}

src/features/components/templates/navigation/template/market-bottom-nav/styles.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
@use 'features/styles/theme/theme-mixins' as *;
2+
@import 'features/styles/theme/variables.scss';
3+
24
.container {
35
display: flex;
46
justify-content: start;
57
align-items: center;
68
padding: 1.6rem;
7-
gap: 3.2rem;
9+
gap: 4.8rem;
810
flex-wrap: nowrap;
911
overflow-x: auto;
12+
background-color: $color-grey-45;
1013

1114
@include breakpoints(phone) {
1215
justify-content: center;

src/features/styles/theme/variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ $color-grey-41: #f8fafb;
134134
$color-grey-42: #f5f8f9;
135135
$color-grey-43: #dfe0e1;
136136
$color-grey-44: #e1e1e3;
137+
$color-grey-45: #fafafa;
137138
$color-green: #85acb0;
138139
$color-blue: #4c76be;
139140
$color-blue-2: #365899;
133 KB
Loading
124 KB
Loading
82.6 KB
Loading
123 KB
Loading
115 KB
Loading

0 commit comments

Comments
 (0)