Dark Theme not working in Nova iframe #104
Unanswered
NiroDeveloper
asked this question in
Q&A
Replies: 1 comment
-
Hey @NiroDeveloper I haven't experienced this myself but it might be due to the fact that the current theme is usually stored as an attribute on the HTML Tag <html lang="en" class="theme-{{ config('web-tinker.theme') }}"> Because there is another root HTML Element due to viewing tinker in an iFrame it may not work as it usually would because the Selectors don' quite marry up. If you view the source of any Nova page when logged in is there a dark class on the root html elelement? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I integrated webtinker into Laravel Nova like this:
If i click on the Nova-Menu link, it opens an iframe that shows /tinker in the white theme. (But the dark theme is configured in the config)
If i open the /tinker route manually in the browser, the dark theme is working as expected.
Beta Was this translation helpful? Give feedback.
All reactions