mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-05-17 05:49:36 +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>
|
||||
<div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab"
|
||||
@keyup.left="focusPrevTab">
|
||||
<div class="wizard-header">
|
||||
<div class="wizard-header" v-if="$slots['title']">
|
||||
<slot name="title">
|
||||
<h4 class="wizard-title">{{title}}</h4>
|
||||
<p class="category">{{subtitle}}</p>
|
||||
|
||||
Reference in New Issue
Block a user