summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-08-17 15:19:46 +0200
committerGitHub <noreply@github.com>2022-08-17 15:19:46 +0200
commite32314e12988fe3e2307ad90133f5abf3314bead (patch)
tree3f4cbf6e805129ea4ef4ced52f9de75e7a88ea87 /apps
parent634ee18d03fd36369d22a9eca2d88d66a8975c3a (diff)
parent601664bc84e91b752ab6e6251510b559a5a676fc (diff)
downloadnextcloud-server-e32314e12988fe3e2307ad90133f5abf3314bead.tar.gz
nextcloud-server-e32314e12988fe3e2307ad90133f5abf3314bead.zip
Merge pull request #33564 from nextcloud/fix/theming-selector
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/Controller/ThemingController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index 94deb2e7376..e671c2d53e8 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -331,7 +331,7 @@ class ThemingController extends Controller {
} else {
// If not set, we'll rely on the body class
$compiler = new Compiler();
- $compiledCss = $compiler->compileString("body[data-theme-$themeId] { $variables $customCss }");
+ $compiledCss = $compiler->compileString("[data-theme-$themeId] { $variables $customCss }");
$css = $compiledCss->getCss();;
}