diff --git a/Install.ps1 b/Install.ps1 index e16624b..6fc835e 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -1396,8 +1396,8 @@ If ($test_spa) { } # New UI fix - if ($new_theme) { - if ($offline -ge "1.1.94.864" -and $offline -lt "1.2.3.1107") { + if ($offline -ge "1.1.94.864" -and $new_theme) { + if ($offline -lt "1.2.3.1107") { $css += $webjson.others.navaltfix.add[0] } if ($offline -ge "1.2.3.1107") { @@ -1407,6 +1407,7 @@ If ($test_spa) { $css += $webjson.others.leftsidebarfix.add } $css += $webjson.others.navaltfix.add[2] + $css += $webjson.others.navaltfix.add[3] } if ($null -ne $css ) { extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css } } diff --git a/patches/patches.json b/patches/patches.json index 44f8f49..ff8339a 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -404,7 +404,8 @@ "add": [ " .nav-alt .Root__top-container {background: #00000085;gap: 6px;padding: 8px;}", " .nav-ylx .Root__top-container {background: #00000085;}", - " .Root__fixed-top-bar {background-color: #00000000}" + " .Root__fixed-top-bar {background-color: #00000000}", + " .Root__nav-bar{background-color: #0000}" ] }, "leftsidebarfix": {