mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 18:22:21 +00:00
fix(time-travelers): don't timeshift background without Hourglass (#10468)
This commit is contained in:
parent
50b98d8d92
commit
0062e5b1f1
1 changed files with 9 additions and 6 deletions
|
|
@ -22,7 +22,7 @@
|
|||
)
|
||||
.standard-page
|
||||
div.featuredItems
|
||||
.background
|
||||
.background(:class="{'background-closed': closed, 'background-open': !closed }")
|
||||
div.npc(:class="{'closed': closed }")
|
||||
div.featured-label
|
||||
span.rectangle
|
||||
|
|
@ -34,8 +34,6 @@
|
|||
span.text(v-once) {{ $t('timeTravelersPopoverNoSubMobile') }}
|
||||
span.rectangle
|
||||
|
||||
h1.mb-4.page-header(v-once) {{ $t('timeTravelers') }}
|
||||
|
||||
.clearfix(v-if="!closed")
|
||||
div.float-right
|
||||
span.dropdown-label {{ $t('sortBy') }}
|
||||
|
|
@ -164,12 +162,9 @@
|
|||
height: 216px;
|
||||
|
||||
.background {
|
||||
background: url('~assets/images/npc/#{$npc_timetravelers_flavor}/time_travelers_background.png');
|
||||
|
||||
background-repeat: repeat-x;
|
||||
|
||||
width: 100%;
|
||||
height: 216px;
|
||||
position: absolute;
|
||||
|
||||
top: 0;
|
||||
|
|
@ -180,6 +175,14 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.background-open {
|
||||
background: url('~assets/images/npc/#{$npc_timetravelers_flavor}/time_travelers_background.png');
|
||||
height: 188px;
|
||||
}
|
||||
.background-closed {
|
||||
background: url('~assets/images/npc/normal/time_travelers_background.png');
|
||||
height: 216px;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue