TT#51083 Call: Fix number input position

Change-Id: I27d02b76928e815c9b14749b3ac7308942c6627c
changes/28/26728/1
Hans-Peter Herzog 7 years ago
parent dfd5157a9d
commit 99e7725f1a

@ -64,14 +64,21 @@
<style lang="stylus" rel="stylesheet/stylus"> <style lang="stylus" rel="stylesheet/stylus">
@import '../themes/quasar.variables.styl'; @import '../themes/quasar.variables.styl';
.csc-page .csc-page
min-height 100vh
position relative position relative
margin 0
padding 0
.csc-page-content
min-height 100vh
padding $flex-gutter-lg padding $flex-gutter-lg
padding-top $header-height padding-top $header-height
margin 0 padding-bottom $call-footer-height
.csc-page.csc-page-mobile .csc-page.csc-page-mobile
.csc-page-content
padding-left $flex-gutter-sm * 1.4 padding-left $flex-gutter-sm * 1.4
padding-right $flex-gutter-sm * 1.4 padding-right $flex-gutter-sm * 1.4
.csc-page.csc-page-mobile.csc-page-list .csc-page.csc-page-mobile.csc-page-list
.csc-page-content
padding-left 0 padding-left 0
padding-right 0 padding-right 0
</style> </style>

@ -3,7 +3,10 @@
class="csc-simple-page" class="csc-simple-page"
> >
<div <div
class="csc-call-page-content" :class="pageClasses"
>
<div
class="col col-xs-12 col-md-6 col-lg-4"
> >
<div <div
v-if="hasFax" v-if="hasFax"
@ -62,6 +65,7 @@
@remove-all="removeAll" @remove-all="removeAll"
/> />
</div> </div>
</div>
</csc-page> </csc-page>
</template> </template>
@ -156,6 +160,18 @@
} }
} }
] ]
},
pageClasses() {
let classes = ["row", "justify-center"];
if(this.isMobile) {
classes.push('items-end');
classes.push('csc-call-page-mobile');
}
else {
classes.push('items-center');
classes.push('csc-call-page-mobile');
}
return classes;
} }
} }
} }
@ -163,11 +179,9 @@
<style lang="stylus" rel="stylesheet/stylus"> <style lang="stylus" rel="stylesheet/stylus">
@import '../../themes/quasar.variables' @import '../../themes/quasar.variables'
.csc-call-page-mobile
min-height calc(100vh - 203px)
.csc-call-page .csc-call-page
height calc(100vh - 120px)
padding 0
padding-top $header-height
.csc-communication-actions .csc-communication-actions
position absolute position absolute
top $header-height top $header-height
@ -184,5 +198,4 @@
.csc-info-text .csc-info-text
line-height 1.4em line-height 1.4em
color $white color $white
</style> </style>

Loading…
Cancel
Save