mirror of
https://github.com/GuySandler/CanvasRefined.git
synced 2026-08-05 02:37:10 +02:00
some more bug fixes
This commit is contained in:
parent
eda809c07e
commit
982f45cb50
@ -684,11 +684,16 @@ function applyCustomBackground() {
|
||||
style.textContent = `
|
||||
#wrapper {
|
||||
background-image: url('${options.customBackgroundLink}') !important;
|
||||
background-size: ${backgroundScale}% auto !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: center center !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 {
|
||||
background: none !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;}`;
|
||||
}
|
||||
|
||||
style.textContent += ".ic-app-nav-toggle-and-crumbs{display:none!important}";
|
||||
if (options.custom_styles !== "") style.textContent += options.custom_styles;
|
||||
document.documentElement.appendChild(style);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user