mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Fixed footer to bottom of page (#9860)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
185717e6c3
commit
fbacb56700
@@ -34,7 +34,7 @@ div
|
||||
|
||||
div(:class='{sticky: user.preferences.stickyHeader}')
|
||||
router-view
|
||||
app-footer
|
||||
app-footer
|
||||
|
||||
audio#sound(autoplay, ref="sound")
|
||||
source#oggSource(type="audio/ogg", :src="sound.oggSource")
|
||||
@@ -83,10 +83,14 @@ div
|
||||
|
||||
.container-fluid {
|
||||
overflow-x: hidden;
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
#app {
|
||||
height: calc(100% - 56px); /* 56px is the menu */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template lang="pug">
|
||||
.row
|
||||
.row.footer-row
|
||||
buy-gems-modal(v-if='user')
|
||||
modify-inventory(v-if="isUserLoaded")
|
||||
footer.col-12(:class="{expanded: isExpandedFooter}")
|
||||
@@ -117,6 +117,11 @@
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.footer-row {
|
||||
margin: 0;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
footer {
|
||||
color: #c3c0c7;
|
||||
z-index: 17;
|
||||
|
||||
Reference in New Issue
Block a user