2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-05-17 05:49:36 +03:00

#15 Trigger back only on back button

Add media query for mobile < 350px
This commit is contained in:
cristijora
2017-06-04 11:54:58 +03:00
parent a065f91d53
commit 17cbb17b5d
4 changed files with 31 additions and 13 deletions
+28 -10
View File
@@ -88,17 +88,35 @@
}
}
}
.wizard-card-footer{
.clearfix::after {
content: "";
clear: both;
display: table;
}
.wizard-card-footer {
padding: 0 20px;
display: flex;
flex-direction: row;
justify-content: flex-end;
flex-wrap:wrap;
flex-flow: row wrap;
.wizard-footer-left{
flex:1;
justify-self:flex-start;
.wizard-footer-left {
float: left;
}
.wizard-footer-right {
float: right;
}
}
@media screen and (max-width: 350px) {
.wizard-card-footer {
display:flex;
justify-content: center;
flex-direction: column;
.wizard-footer-left,
.wizard-footer-right {
float: none;
flex:1;
display: flex;
justify-content:center;
}
.wizard-footer-right button{
margin-top:10px;
}
}
}
}
+1 -1
View File
@@ -45,7 +45,7 @@
</div>
</div>
<div class="wizard-card-footer" v-if="!hideButtons">
<div class="wizard-card-footer clearfix" v-if="!hideButtons">
<template>
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
<slot name="prev">