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

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f88559e

Browse files
sean-binaryseanho96
authored andcommitted
fix: truncated tabs for various languages (#1292)
Co-authored-by: sean-binary <[email protected]>
1 parent 9999fa3 commit f88559e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/pages/dmt5-trading-signals/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ const signal_content_provider = {
5454
const TabsContainer = styled(Flex)`
5555
display: flex;
5656
overflow: scroll;
57+
58+
@media ${device.mobileL} {
59+
justify-content: flex-start;
60+
}
5761
`
5862

5963
const Item = styled.div`
@@ -63,10 +67,12 @@ const Item = styled.div`
6367
props.name === props.active_tab ? '2px solid var(--color-red)' : ''};
6468
cursor: pointer;
6569
z-index: 10;
70+
white-space: nowrap;
6671
6772
${Header} {
6873
font-size: 2.4rem;
6974
width: max-content;
75+
text-align: center;
7076
}
7177
h4 {
7278
color: var(--color-black-3);
@@ -78,8 +84,13 @@ const Item = styled.div`
7884
7985
${Header} {
8086
font-size: 20px;
87+
width: 100%;
8188
}
8289
}
90+
@media ${device.mobileL} {
91+
width: 100%;
92+
text-align: center;
93+
}
8394
`
8495
const Separator = styled.div`
8596
position: absolute;

0 commit comments

Comments
 (0)