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.

fix: truncated tabs for various languages #1292

Merged
merged 1 commit into from Dec 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/pages/dmt5-trading-signals/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ const signal_content_provider = {
const TabsContainer = styled(Flex)`
display: flex;
overflow: scroll;

@media ${device.mobileL} {
justify-content: flex-start;
}
`

const Item = styled.div`
Expand All @@ -63,10 +67,12 @@ const Item = styled.div`
props.name === props.active_tab ? '2px solid var(--color-red)' : ''};
cursor: pointer;
z-index: 10;
white-space: nowrap;

${Header} {
font-size: 2.4rem;
width: max-content;
text-align: center;
}
h4 {
color: var(--color-black-3);
Expand All @@ -78,8 +84,13 @@ const Item = styled.div`

${Header} {
font-size: 20px;
width: 100%;
}
}
@media ${device.mobileL} {
width: 100%;
text-align: center;
}
`
const Separator = styled.div`
position: absolute;
Expand Down