mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-20 02:10:32 +03:00
#15 Trigger back only on back button
Add media query for mobile < 350px
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -88,17 +88,35 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.clearfix::after {
|
||||||
.wizard-card-footer{
|
content: "";
|
||||||
|
clear: both;
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
.wizard-card-footer {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
display: flex;
|
.wizard-footer-left {
|
||||||
flex-direction: row;
|
float: left;
|
||||||
justify-content: flex-end;
|
}
|
||||||
flex-wrap:wrap;
|
.wizard-footer-right {
|
||||||
flex-flow: row wrap;
|
float: right;
|
||||||
.wizard-footer-left{
|
}
|
||||||
flex:1;
|
}
|
||||||
justify-self:flex-start;
|
@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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wizard-card-footer" v-if="!hideButtons">
|
<div class="wizard-card-footer clearfix" v-if="!hideButtons">
|
||||||
<template>
|
<template>
|
||||||
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
|
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
|
||||||
<slot name="prev">
|
<slot name="prev">
|
||||||
|
|||||||
Reference in New Issue
Block a user