Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

farabi/bot-228/fix-step-5-modal-alignment #9377

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
36 changes: 5 additions & 31 deletions packages/bot-web-ui/src/components/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@
img {
width: 97%;
}

.initial-loader {
width: 33rem;
height: 18rem;
}
}

&__content {
Expand All @@ -330,37 +335,6 @@
}
}

.dbot-onboarding__container {
img {
width: 100%;
}
}

@for $i from 0 through 6 {
#react-joyride-step-#{$i} {
.onboard__container {
.initial-loader {
width: 33rem;

@if ($i ==0 or $i ==5) {
height: 18.6rem;
} @else if ($i ==1) {
height: 18.4rem;
} @else if ($i ==2 or $i ==3) {
height: 18.7rem;
} @else if ($i ==6) {
height: 4.4rem;
}
}
@if ($i ==5) {
img {
width: 100%;
}
}
}
}
}

.joyride-content {
&__left {
text-align: left;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const DBOT_ONBOARDING = [
disableOverlay: false,
},
{
target: '[data-testid="drawer"]',
target: '.dc-drawer__container',
content: (
<TourGuide
label={localize('How is my bot doing?')}
Expand Down Expand Up @@ -388,7 +388,7 @@ const Step5 = ({ show_label = false }) => (
</li>
<li>
<Localize
i18n_default_text='Drag the <0>Trade again</0> block and add it into the <0>do</0> part of the <0>Repeat until</0> block.'
i18n_default_text='Drag the <0>Trade again</0> block and add it to the <0>do</0> part of the <0>Repeat until</0> block.'
components={[<strong key={0} />]}
/>
</li>
Expand Down