Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-08-16 15:43:35 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-08-16 15:43:35 +0300
commit601664bc84e91b752ab6e6251510b559a5a676fc (patch)
tree9548660a11f4056fff55afa0b41d906317d20071 /apps/theming
parent3e2ab35af5aa14ed77fba66b63b9d858a5607394 (diff)
Allow to manually specify a theme to apply to a section of an appfix/theming-selector
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming')
-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();;
}