New UI fix

This commit is contained in:
amd64fox
2023-03-22 05:38:03 +03:00
parent 8b351608ad
commit e4c06859e9
2 changed files with 5 additions and 3 deletions

View File

@@ -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 }
}

View File

@@ -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": {