You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var assembly = typeof(Program).GetTypeInfo().Assembly;
var styleSheetName = "customhangfire.css";
var resourceName = assembly.GetManifestResourceNames()
.FirstOrDefault(name => name.EndsWith(styleSheetName));
if (resourceName != null)
{
GlobalConfiguration.Configuration.UseDashboardStylesheet(assembly, resourceName);
} else
{
Log.Warning($"Custom style sheet '{styleSheetName}' for hangfire not found as embedded source in assembly '{assembly.FullName}'");
}
but the css is not loaded:
The text was updated successfully, but these errors were encountered:
The stylesheets are being embedded into the css* and css-dark* resources and not served separately. I think it is UTF-BOM character in the beginning of the custom CSS file, which prevents new styles from appearing. Please check your css files and remove the BOM character from the beginning of the file, the methods depends on your editor.
This my instrumentation
but the css is not loaded:
The text was updated successfully, but these errors were encountered: