mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Fix minor issues.
This commit is contained in:
@@ -24,7 +24,7 @@ div
|
|||||||
div.closepadding(@click="hideBanner()")
|
div.closepadding(@click="hideBanner()")
|
||||||
span.svg-icon.inline.icon-10(aria-hidden="true", v-html="icons.close")
|
span.svg-icon.inline.icon-10(aria-hidden="true", v-html="icons.close")
|
||||||
notifications-display
|
notifications-display
|
||||||
app-menu(:class='{"restingInn": showRestingBanner}' v-bind:style="{ marginTop: bannerHeight + 'px' }")
|
app-menu(:class='{"restingInn": showRestingBanner}' :style="{ marginTop: bannerHeight + 'px' }")
|
||||||
.container-fluid
|
.container-fluid
|
||||||
app-header(:class='{"restingInn": showRestingBanner}')
|
app-header(:class='{"restingInn": showRestingBanner}')
|
||||||
buyModal(
|
buyModal(
|
||||||
@@ -242,7 +242,6 @@ export default {
|
|||||||
return this.$t(`tip${tipNumber}`);
|
return this.$t(`tip${tipNumber}`);
|
||||||
},
|
},
|
||||||
showRestingBanner () {
|
showRestingBanner () {
|
||||||
if (this.user === null) return false;
|
|
||||||
return !this.bannerHidden && this.user.preferences.sleep;
|
return !this.bannerHidden && this.user.preferences.sleep;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user