From d885ec955df55c17e8f716b76221186e751822a9 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Thu, 2 Mar 2023 13:28:39 +0300 Subject: [PATCH] left sidebar fix Co-Authored-By: Exhigh #332 --- Install.ps1 | 7 ++++++- patches/patches.json | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Install.ps1 b/Install.ps1 index 197796a..c375638 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -1352,6 +1352,9 @@ if ($test_js) { $css += $webjson.others.navaltfix.add[3] $css += $webjson.others.navaltfix.add[4] } + if ($new_theme -and $offline -ge "1.2.6.861") { + $css += $webjson.others.leftsidebarfix.add + } if ($null -ne $css ) { extract -counts 'one' -method 'nonezip' -name 'xpui.css' -add $css } @@ -1514,10 +1517,12 @@ If ($test_spa) { $css += $webjson.others.navaltfix.add[3] $css += $webjson.others.navaltfix.add[4] } + if ($offline -ge "1.2.6.861") { + $css += $webjson.others.leftsidebarfix.add + } $css += $webjson.others.navaltfix.add[2] } if ($null -ne $css ) { extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css } - } # Old UI fix diff --git a/patches/patches.json b/patches/patches.json index 9f1f63d..f89e81c 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -409,6 +409,13 @@ " .koyeY6AgGRPmyPITi7yO{top:64px !important;}" ] }, + "leftsidebarfix": { + "version": { + "from": "1.2.6", + "do": "" + }, + "add": " .yOKoknIYYzAE90pe7_SE.Yn2Ei5QZn19gria6LjZj {pointer-events: none;}" + }, "collaboration": { "version": { "from": "1.1.73",