mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-09 05:47:45 +00:00
fix(messages): adjust for G1G1 banner height
This commit is contained in:
parent
395e1c25d4
commit
4457b081fa
2 changed files with 3 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
|||
banner-id="gift-promo"
|
||||
class="gift-promo-banner"
|
||||
:show="showGiftPromoBanner"
|
||||
height="3rem"
|
||||
>
|
||||
<div
|
||||
slot="content"
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@
|
|||
|
||||
#private-message {
|
||||
height: calc(100vh - #{$menuToolbarHeight} -
|
||||
var(--banner-gifting-height, 0px) -
|
||||
var(--banner-gift-promo-height, 0px) -
|
||||
var(--banner-damage-paused-height, 0px) -
|
||||
var(--banner-gems-promo-height, 0px)
|
||||
); // css variable magic :), must be 0px, 0 alone won't work
|
||||
|
|
@ -201,7 +201,7 @@
|
|||
.content {
|
||||
flex: 1;
|
||||
height: calc(100vh - #{$menuToolbarHeight} - #{$pmHeaderHeight} -
|
||||
var(--banner-gifting-height, 0px) -
|
||||
var(--banner-gift-promo-height, 0px) -
|
||||
var(--banner-damage-paused-height, 0px) -
|
||||
var(--banner-gems-promo-height, 0px)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue