Hangfire.RecurringJobAdmin icon indicating copy to clipboard operation
Hangfire.RecurringJobAdmin copied to clipboard

styles are broken for a newer version of Hangfire

Open FixRM opened this issue 2 years ago • 4 comments

Hello @bamotav! Thank you for the tool. Unfortunately, one of latest HF updates broke some stiles of your page:

image

Can you please fix it?

FixRM avatar Jun 08 '23 13:06 FixRM

Same here, the style is broken

likan971 avatar Jul 04 '23 06:07 likan971

It looks like the issue is already fixed by contributors, but @bamotav didn't push update to NuGet. Meanwhile I stopped with this stupid fix:

app.Use(async (ctx, next) =>
{
    if (ctx.Request.Path.Value == "/hangfire/JobConfiguration/css/jobExtension")
    {
        using (var stream = typeof(WebStartup).Assembly.GetManifestResourceStream("Your.Namespace.cssfix.css"))
        using (var reader = new StreamReader(stream))
        {
            var content = reader.ReadToEnd();
            await ctx.Response.WriteAsync(content);
        }
    }
    else
    {
        await next();
    }
});

If somebody know less expensive option to override CSS, please let me know.

FixRM avatar Jul 08 '23 10:07 FixRM

Hi @bamotav Is there any plan to push this fix on Nuget ? Thank you in advance :)

AdCodicem avatar Nov 22 '23 11:11 AdCodicem