inertia icon indicating copy to clipboard operation
inertia copied to clipboard

The CSS class gets overwritten when using multiple layouts.

Open nikkhil31 opened this issue 1 year ago • 0 comments

Discussed in https://github.com/inertiajs/inertia/discussions/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

nikkhil31 avatar Feb 13 '24 04:02 nikkhil31