Open hakenr opened 2 years ago
Currently, when switching themes in doc, we just add a new CSS link. The original link (to our custom BS build) remains in the header and merges with the new styles. This causes some specific nuances, such as rounded corners in dropdowns, etc.
We have to keep just the selected link active.
Moving all the CSS links to HeadContent causes UI flickering when starting the WASM app: https://github.com/dotnet/aspnetcore/issues/42527
Related Blazor issue: https://github.com/dotnet/aspnetcore/issues/42561
Currently, when switching themes in doc, we just add a new CSS link. The original link (to our custom BS build) remains in the header and merges with the new styles. This causes some specific nuances, such as rounded corners in dropdowns, etc.
We have to keep just the selected link active.