We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51f0db commit 15d8341Copy full SHA for 15d8341
1 file changed
apps/theming/lib/Themes/CommonThemeTrait.php
@@ -103,13 +103,6 @@ protected function generateGlobalBackgroundVariables(): array {
103
foreach (ImageManager::SUPPORTED_IMAGE_KEYS as $image) {
104
if ($this->imageManager->hasImage($image)) {
105
$imageUrl = $this->imageManager->getImageUrl($image);
106
- if ($image === 'background') {
107
- // If background deleted is set, ignoring variable
108
- if ($backgroundDeleted) {
109
- continue;
110
- }
111
- $variables['--image-background-size'] = 'cover';
112
113
// --image-background is overridden by user theming
114
$variables["--image-$image"] = "url('" . $imageUrl . "')";
115
}
0 commit comments