Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The CSS class gets overwritten when using multiple layouts. #1798

Open
nikkhil31 opened this issue Feb 13, 2024 Discussed in #1797 · 0 comments
Open

The CSS class gets overwritten when using multiple layouts. #1798

nikkhil31 opened this issue Feb 13, 2024 Discussed in #1797 · 0 comments

Comments

@nikkhil31
Copy link

nikkhil31 commented Feb 13, 2024

Discussed in #1797

Originally posted by nikkhil31 February 12, 2024
I have two layouts:

  1. Main layout
  2. Admin layout
    Both layouts have different themes, hence different CSS.

When I visit the admin login through an inertia route, and then return to the home page, the admin CSS takes over the home CSS.
What could be a possible solution?
I have used React + vite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant