Skip to content

Commit

Permalink
fix: #1096;
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Mar 7, 2023
1 parent d11d0e3 commit c706052
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/lib/components/_Platform_alert.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
=================== -->
<script lang="ts">
import type { Cache_Single_Lang_Header_Translation_Response } from '$lib/models/navbar/types';
import { sessionStore } from '$lib/store/session';
export let HEADER_TRANSLATION_DATA: Cache_Single_Lang_Header_Translation_Response;
Expand All @@ -19,7 +20,9 @@
[ℹ] identify the correct translation via IF
-->
{#if HEADER_TRANSLATION_DATA.scores_top_bar_messages.status && show}
<div id="platform-alert-container">
<div
id="platform-alert-container"
class:update-z-index={$sessionStore.livescoreShowCalendar}>
<p
class="
s-12
Expand Down Expand Up @@ -55,6 +58,11 @@
text-align: center;
z-index: 20000;
}
.update-z-index {
z-index: unset !important;
}
img#close-platform-alert-img {
position: absolute;
right: 16px;
Expand Down
7 changes: 6 additions & 1 deletion src/lib/components/_main_/header/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@ TODO:FIXME: not generating for each LANG
<!-- svelte-ignore a11y-click-events-have-key-events -->
<header
class="column-space-center"
class:user-active={PROFILE_URL == $page.route.id}>
class:user-active={PROFILE_URL == $page.route.id}
class:update-z-index={$sessionStore.livescoreShowCalendar}>
<!--
[ℹ] area outside to close action (inner header)
-->
Expand Down Expand Up @@ -2224,6 +2225,10 @@ COMPONENT STYLE
z-index: 1000;
}
.update-z-index {
z-index: unset;
}
header {
background-color: #292929;
height: 128px;
Expand Down

0 comments on commit c706052

Please sign in to comment.