mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-23 03:20:33 +03:00
Hide header if no title
I don't use the title bar so I wish I could remove it and hide the empty space at the top
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab"
|
<div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab"
|
||||||
@keyup.left="focusPrevTab">
|
@keyup.left="focusPrevTab">
|
||||||
<div class="wizard-header">
|
<div class="wizard-header" v-if="$slots['title']">
|
||||||
<slot name="title">
|
<slot name="title">
|
||||||
<h4 class="wizard-title">{{title}}</h4>
|
<h4 class="wizard-title">{{title}}</h4>
|
||||||
<p class="category">{{subtitle}}</p>
|
<p class="category">{{subtitle}}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user