Browse Source

chore(nc-gui): hide navigation arrows when form was submitted

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
f9be31038d
  1. 2
      packages/nc-gui/assets/style.scss
  2. 3
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue

2
packages/nc-gui/assets/style.scss

@ -214,7 +214,7 @@ a {
} }
&:hover::after { &:hover::after {
@apply !border-0 transform scale-110 ring ring-accent; @apply transform scale-110 ring ring-accent;
} }
&:active::after { &:active::after {

3
packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue

@ -285,7 +285,9 @@ onMounted(() => {
</Transition> </Transition>
</div> </div>
<Transition name="fade">
<div <div
v-if="!submitted"
class="color-transition shadow-sm absolute bottom-18 right-1/2 transform translate-x-[50%] md:bottom-4 md:(right-12 transform-none) flex items-center bg-white border dark:bg-slate-500 rounded divide-x-1" class="color-transition shadow-sm absolute bottom-18 right-1/2 transform translate-x-[50%] md:bottom-4 md:(right-12 transform-none) flex items-center bg-white border dark:bg-slate-500 rounded divide-x-1"
> >
<a-tooltip title="Go to previous" :mouse-enter-delay="0.25" :mouse-leave-delay="0"> <a-tooltip title="Go to previous" :mouse-enter-delay="0.25" :mouse-leave-delay="0">
@ -307,6 +309,7 @@ onMounted(() => {
</button> </button>
</a-tooltip> </a-tooltip>
</div> </div>
</Transition>
</div> </div>
</template> </template>

Loading…
Cancel
Save