mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
delete the --image-background-size variable
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
e36e92bace
commit
9597036b72
1 changed files with 0 additions and 7 deletions
|
|
@ -103,13 +103,6 @@ trait CommonThemeTrait {
|
|||
foreach (ImageManager::SUPPORTED_IMAGE_KEYS as $image) {
|
||||
if ($this->imageManager->hasImage($image)) {
|
||||
$imageUrl = $this->imageManager->getImageUrl($image);
|
||||
if ($image === 'background') {
|
||||
// If background deleted is set, ignoring variable
|
||||
if ($backgroundDeleted) {
|
||||
continue;
|
||||
}
|
||||
$variables['--image-background-size'] = 'cover';
|
||||
}
|
||||
// --image-background is overridden by user theming
|
||||
$variables["--image-$image"] = "url('" . $imageUrl . "')";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue