The project is in a healthy, maintained state
Usability CSS fixes for the Sidekiq Web UI, injected via Rack middleware.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

sidekiq_web_theme

Usability CSS fixes for the Sidekiq Web UI.

Starting with Sidekiq 8 the default Web UI layout became less usable on wide screens. This gem registers a small Rack middleware on Sidekiq::Web that injects a stylesheet into the <head> of every Web UI page, constraining the content width, shrinking oversized fonts, making job arguments scrollable and compacting the header/footer.

The injected <style> tag carries the per-request CSP nonce, so it works with Sidekiq's default style-src 'self' 'nonce-...' Content-Security-Policy.

Installation

gem "sidekiq_web_theme"

Usage

Call setup! where Sidekiq::Web is mounted (e.g. config/routes.rb or your Sidekiq initializer), after sidekiq/web is required:

require "sidekiq/web"
require "sidekiq_web_theme"

SidekiqWebTheme.setup!

Customizing the CSS

The stylesheet lives in lib/sidekiq_web_theme/style.css and is read once at load time.

License

Released under the MIT License.