mirror of
https://github.com/GuySandler/CanvasRefined.git
synced 2026-11-25 23:17:56 +01:00
some more bug fixes
This commit is contained in:
1 parent
eda809c07e
commit
982f45cb50
1 file changed
+7
-1
+7
-1
@@ -684,11 +684,16 @@ function applyCustomBackground() {
|
|||||||
style.textContent = `
|
style.textContent = `
|
||||||
#wrapper {
|
#wrapper {
|
||||||
background-image: url('${options.customBackgroundLink}') !important;
|
background-image: url('${options.customBackgroundLink}') !important;
|
||||||
background-size: ${backgroundScale}% auto !important;
|
|
||||||
background-repeat: no-repeat !important;
|
background-repeat: no-repeat !important;
|
||||||
background-position: center center !important;
|
background-position: center center !important;
|
||||||
background-attachment: fixed !important;
|
background-attachment: fixed !important;
|
||||||
}
|
}
|
||||||
|
@media (orientation: landscape) {
|
||||||
|
#wrapper { background-size: ${backgroundScale}% auto !important; }
|
||||||
|
}
|
||||||
|
@media (orientation: portrait) {
|
||||||
|
#wrapper { background-size: cover !important; }
|
||||||
|
}
|
||||||
.ic-Dashboard-header__layout {
|
.ic-Dashboard-header__layout {
|
||||||
background: none !important;
|
background: none !important;
|
||||||
/* backdrop-filter: blur(10px) !important; */
|
/* backdrop-filter: blur(10px) !important; */
|
||||||
@@ -3956,6 +3961,7 @@ function applyAestheticChanges() {
|
|||||||
if (options.cardHeight !== undefined && options.cardHeight !== 250) style.textContent += `.ic-DashboardCard {height: ${options.cardHeight}px!important;}`;
|
if (options.cardHeight !== undefined && options.cardHeight !== 250) style.textContent += `.ic-DashboardCard {height: ${options.cardHeight}px!important;}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
style.textContent += ".ic-app-nav-toggle-and-crumbs{display:none!important}";
|
||||||
if (options.custom_styles !== "") style.textContent += options.custom_styles;
|
if (options.custom_styles !== "") style.textContent += options.custom_styles;
|
||||||
document.documentElement.appendChild(style);
|
document.documentElement.appendChild(style);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user