Skip to content

Commit

Permalink
Merge pull request #213 from deriv-com/fix-ui-issues
Browse files Browse the repository at this point in the history
Niloofar/ Fixed Platform Switcher style issues
  • Loading branch information
shayan-deriv authored Jun 4, 2024
2 parents c81f783 + aa348e8 commit b95b21a
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions src/components/AppLayout/PlatformSwitcher/PlatformSwitcher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,26 @@
}

&__item {
padding: 16px;
width: 320px;
border-radius: 8px;
width: 360px;
height: 132px;
padding: 24px 16px;
margin: 24px 16px 16px;
height: 143px;

@include mobile {
width: 263px;
height: unset;
padding: 14px 16px;
margin: 14px 16px;
}

&-text {
margin-top: 8px;

@include mobile {
font-size: 14px;
line-height: 20px;
}
}

&:hover {
Expand Down Expand Up @@ -112,39 +121,27 @@
}

&__wrapper {
padding: 32px;
padding-bottom: 24px;
background: var(--du-general-main-2, #fff);

@include mobile {
padding: 16px;
padding-top: 9px;
}
}

&__items {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 32px;

@include mobile {
flex-direction: column;
gap: 16px;
}
}

&__link {
text-align: center;
padding: 10px 0;
margin-top: 8px;
font-size: 14px;
font-weight: 700;
line-height: 20px;
color: var(--du-brand-red-coral, #ff444f);

@include mobile {
margin-top: 16px;
}
line-height: 15px;
margin-top: 16px;
color: var(--du-status-danger, #ec3f3f);
}
}
}

0 comments on commit b95b21a

Please sign in to comment.