Skip to content

fix: switch button on mass mint onboarding #11281

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

Merged
merged 1 commit into from
Dec 22, 2024
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
28 changes: 17 additions & 11 deletions components/massmint/OnBoarding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
:source="
descriptionTabs[activeDescriptionTab].fileStructureDescription
"
class="fixed-height white-space-break-spaces-mobile code"
class="fixed-height white-space-break-spaces-mobile"
/>
<div class="flex justify-end mt-2">
<NeoButton
Expand All @@ -78,18 +78,28 @@
</OnBoardingCard>
</div>
<Transition name="fade">
<div
<button
v-if="currentSlide > 0"
class="arrow arrow-left"
class="arrow arrow-left arrow-icon rounded-full"
@click="prevSlide"
/>
>
<NeoIcon
icon="chevron-left"
size="medium"
/>
</button>
</Transition>
<Transition name="fade">
<div
<button
v-if="currentSlide < numOfCards - 1"
class="arrow arrow-right"
class="arrow arrow-right arrow-icon rounded-full"
@click="nextSlide"
/>
>
<NeoIcon
icon="chevron-right"
size="medium"
/>
</button>
</Transition>
</div>

Expand Down Expand Up @@ -264,10 +274,6 @@ $card-width: clamp($min-card-width, $card-width-percents, $max-card-width);
overflow-y: auto;
}

.code :deep(pre) {
font-size: 1rem !important;
}

.carousel-dot {
@apply w-2.5 h-2.5 transition-[background-color] duration-[0.2s] ease-[ease-in-out] rounded-[25%];

Expand Down
Loading