Skip to content

Commit

Permalink
Farabi/bot 359/update user guide button (#9080)
Browse files Browse the repository at this point in the history
* fix: updated user guide button in both themes

* fix: user guide button on different language
  • Loading branch information
farabi-deriv authored Jun 30, 2023
1 parent 1e37798 commit ca104aa
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@

&__retrigger {
button {
background: $color-grey-2;
background: var(--general-section-1);
border-radius: 2.4rem;
outline: none;
border: none;
height: 4rem;
width: 12.8rem;
padding: 1rem;
@include align-center;
cursor: pointer;

Expand All @@ -296,7 +296,12 @@

&__text {
margin-left: 0.4rem;
color: var(--text-less-prominent);
color: var(--text-general);
}

&__icon {
width: 2.4rem;
height: 2.4rem;
}
}
}
Expand All @@ -309,19 +314,24 @@
padding: 2rem;

button {
background: $color-grey-2;
background: var(--general-section-1);
border-radius: 2.4rem;
outline: none;
border: none;
height: 4rem;
width: 12.8rem;
padding: 1rem;
@include align-center;
cursor: pointer;
}

&__text {
margin-left: 0.4rem;
color: var(--text-less-prominent);
color: var(--text-general);
}

&__icon {
width: 2.4rem;
height: 2.4rem;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,10 @@ const LocalComponent = ({
>
<Icon
className='tab__dashboard__preview__retrigger__icon'
width='2.4rem'
height='2.4rem'
icon={'IcDbotUserGuide'}
/>
{!is_mobile && (
<Text
color='prominent'
size='xs'
line_height='s'
className={'tab__dashboard__preview__retrigger__text'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ const UserGuide = ({ setActiveTab, setActiveTabTutorial }: TUserGuide) => {
setActiveTabTutorial(0);
}}
>
<Icon
className='tab__dashboard__home__retrigger__icon'
width='2.4rem'
height='2.4rem'
icon={'IcDbotUserGuide'}
/>
<Text color='prominent' size='xs' line_height='s' className={'tab__dashboard__home__retrigger__text'}>
<Icon className='tab__dashboard__home__retrigger__icon' icon={'IcDbotUserGuide'} />
<Text size='xs' line_height='s' className={'tab__dashboard__home__retrigger__text'}>
{localize('User Guide')}
</Text>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
text-align: center;
flex-direction: column;
margin-right: 2.4rem;
width: 21.5rem;
@include mobile {
flex-direction: row;
width: auto;
span {
text-align: left;
padding-left: 0.8rem;
Expand Down Expand Up @@ -71,6 +71,7 @@
height: 13.5rem;
background-position: center center;
margin-bottom: 0.8rem;
width: 21.5rem;
cursor: pointer;
@include mobile {
height: 8.7rem;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca104aa

Please sign in to comment.