Skip to content

Commit 15d8341

Browse files
committed
delete the --image-background-size variable
Signed-off-by: Simon L <[email protected]>
1 parent a51f0db commit 15d8341

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

apps/theming/lib/Themes/CommonThemeTrait.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,6 @@ protected function generateGlobalBackgroundVariables(): array {
103103
foreach (ImageManager::SUPPORTED_IMAGE_KEYS as $image) {
104104
if ($this->imageManager->hasImage($image)) {
105105
$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-
}
113106
// --image-background is overridden by user theming
114107
$variables["--image-$image"] = "url('" . $imageUrl . "')";
115108
}

0 commit comments

Comments
 (0)