From 5f43295788d086b4ec12f9c64c578aa1842d5fc3 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sat, 25 Dec 2021 20:27:15 +0800 Subject: [PATCH] fix: prevent covered by GitHub notifications center header --- src/styles/index.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/styles/index.scss b/src/styles/index.scss index 8785697..a3b5681 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -11,7 +11,12 @@ $min-width-with-gitako: $min-screen-width + $side-bar-base-width; $github-header-z-index: 32; $github-pull-request-float-header-z-index: 110; -$minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-z-index) + 1; +$github-notifications-center-header-z-index: 999; +$minimal-z-index: max( + $github-header-z-index, + $github-pull-request-float-header-z-index, + $github-notifications-center-header-z-index + ) + 1; @mixin interactive-frame() { @include interactive-border;