fix(messages): adjust for G1G1 banner height

This commit is contained in:
Sabe Jones
2020-12-15 16:41:13 -06:00
parent 395e1c25d4
commit 4457b081fa
2 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
banner-id="gift-promo"
class="gift-promo-banner"
:show="showGiftPromoBanner"
height="3rem"
>
<div
slot="content"

View File

@@ -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)
);