Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 72dc9f7

Browse files
committed
#46 Fix pointer cursor showing on not visited steps
1 parent 274123b commit 72dc9f7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/assets/form-wizard/_navs-pagination.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@
2626
background-color: transparent;
2727
color: $form-placeholder-color;
2828
outline: 0 !important;
29-
cursor: pointer;
3029
}
30+
&.disabled {
31+
pointer-events: none;
32+
cursor: default;
33+
}
3134
}
3235

3336
> li.active > a,

src/components/WizardStep.vue

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<template>
2-
<li :class="{active:tab.active}"
3-
>
4-
<a>
2+
<li :class="{active:tab.active}">
3+
<a href="javascript:void(0)" :class="{disabled: !tab.checked}">
54
<div class="wizard-icon-circle md"
65
role="tab"
76
:tabindex="tab.checked ? 0 : ''"

0 commit comments

Comments
 (0)