Repository navigation
[stable-0.1] Restoring ability to use custom css - #433
Merged
Merged
Conversation
The editor linked themes/<theme>/apps/files_mindmap/css/style.css on every instance, and without a theme as /themes//apps/..., so most instances requested a missing file each time a mind map opened. It also read the theme through the private OC_Util. Work out the stylesheet in the controller instead: read the theme from the system config, fall back to the default theme as the server does, and pass the URL to the template only if the file exists, with its modification time so changes to it are not cached. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> Signed-off-by: Felix <felix.nz@hotmail.de>
The theme stylesheet came before the template's inline styles, so for rules of equal specificity, such as #menu-header .btn, the inline styles won and the theme could not override them. Link it last. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> Signed-off-by: Felix <felix.nz@hotmail.de>
AndyScherzinger
force-pushed
the
backport/432/stable-0.1
branch
from
October 23, 2026 23:18
c404ff4 to
0171784
Compare
AndyScherzinger
marked this pull request as ready for review
October 23, 2026 23:26
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #432
Warning, This backport had conflicts that were resolved with the⚠️
oursmerge strategy and is likely incompleteTodo
🤖 AI (if applicable)
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.