Skip to content

Commit aa1fee6

Browse files
committed
fix: UI and UX onboarding tuto for mobile
1 parent 290c811 commit aa1fee6

6 files changed

Lines changed: 8 additions & 13 deletions

File tree

src/Iframes/TutorialV1/Tuto/Components/App.svelte

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
</script>
1717

18-
<div class="tuto tw-h-full tw-text-center tw-bg-transparent">
18+
<div class="tuto tw-h-full tw-w-[98vw] tw-text-center tw-bg-transparent">
1919
<Steps
2020
on:close={close}
2121
on:skip={close}
@@ -33,9 +33,4 @@
3333
<Step3 />
3434
{/if}
3535
</Steps>
36-
</div>
37-
<style>
38-
.tuto{
39-
min-width: 500px;
40-
}
41-
</style>
36+
</div>

src/Iframes/TutorialV1/Tuto/Components/Steps.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
}
2525
$: console.log('Current Step:', $currentStepStore);
2626
</script>
27-
<div class="tw-flex tw-flex-col tw-w-full tw-pt-20 tw-pb-24 ">
27+
<div class="tw-flex tw-flex-col tw-w-full tw-pt-20 tw-pb-24 ">
2828

2929

3030

31-
<div class="header tw-p-3 tw-flex tw-justify-center tw-absolute tw-top-7 sm:tw-top-14 tw-w-full tw-h-3 tw-overflow-visible ">
31+
<div class="header tw-p-3 tw-flex tw-justify-center tw-absolute tw-top-7 sm:tw-top-14 tw-w-full tw-h-3 tw-overflow-visible ">
3232
<nav class="tw-flex tw-gap-2 tw-py-4 tw-text-sm tw-font-medium tw-items-center">
3333
{#each steps as step, index}
3434
<button

src/Iframes/TutorialV1/Tuto/Components/Steps/Step1.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</script>
44

55

6-
<div class=" tw-flex tw-flex-col tw-items-center tw-justify-center tw-mt-10 tw-mb-5 tw-text-white tw-h-auto tw-px-4 sm:tw-px-10">
6+
<div class=" tw-flex tw-flex-col tw-items-center tw-justify-center tw-mt-10 tw-mb-5 tw-text-white tw-h-auto tw-px-0 sm:tw-px-10">
77

88

99

src/Iframes/TutorialV1/Tuto/Components/Steps/Step2.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script>
22
import i18next from "i18next";
33
</script>
4-
<div class="tw-flex tw-flex-col tw-mt-10 tw-items-center tw-justify-center tw-mb-5 tw-text-white tw-px-8">
4+
<div class="tw-flex tw-flex-col tw-mt-10 tw-items-center tw-justify-center tw-mb-5 tw-text-white tw-px-0 sm:tw-px-10">
55

66
<h1>{i18next.t("tuto.step2.title")}</h1>
77
<div class="tw-bg-white/10 tw-h-[1px] tw-w-full tw-m-10"></div>

src/Iframes/TutorialV1/Tuto/Components/Steps/Step3.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import i18next from "i18next";
44
55
</script>
6-
<div class="tw-flex tw-flex-col tw-mt-10 tw-items-center tw-justify-center tw-mb-5 tw-text-white tw-px-8">
6+
<div class="tw-flex tw-flex-col tw-mt-10 tw-items-center tw-justify-center tw-mb-5 tw-text-white tw-px-0 sm:tw-px-10">
77

88
<h1>{i18next.t("tuto.step3.title")}</h1>
99
<div class="tw-bg-white/10 tw-h-[1px] tw-w-full tw-m-10"></div>

src/Iframes/TutorialV1/Tuto/Components/Steps/Welcome.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import i18next from "i18next";
55
</script>
66

77

8-
<div class="tw-flex tw-flex-col tw-items-center tw-mt-10 tw-mb-5 tw-text-white tw-h-auto tw-px-4 sm:tw-px-10 tw-overflow-x-hidden tw-w-full tw-max-w-full">
8+
<div class="tw-flex tw-flex-col tw-items-center tw-mt-10 tw-mb-5 tw-text-white tw-h-auto tw-px-0 sm:tw-px-10 tw-overflow-x-hidden tw-w-full tw-max-w-full">
99

1010
<h1>{i18next.t('tuto.welcome.title')}</h1>
1111
<p class="tw-w-10/12 sm:tw-w-full-"> {i18next.t('tuto.welcome.subtitle')} </p>

0 commit comments

Comments
 (0)