Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion app/assets/stylesheets/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ body {
/* dart-sass has no sprockets `asset-url()` helper (it would pass the
function through verbatim and the browser could not resolve it), so the
fingerprinted URL is injected from the layout as a custom property.
See app/views/layouts/application.html.erb. */
See app/views/layouts/application.html.erb.

Heads-up: since the U3 Tailwind pass, every page view sets a
content_for :body_class with a `!`-suffixed Tailwind background
(bg-gradient-to-b!/bg-none! etc.), which always wins over this
unlayered rule — so this bg.jpg is currently never the visible
backdrop on any page. Kept as the base-layer fallback; verified
pixel-identical before/after the dartsass switch. */
background-image: var(--site-bg-image);
background-repeat: repeat;
background-attachment: fixed;
Expand Down
4 changes: 4 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local
# This app has no Active Storage attachments at all; without this, every
# production boot logs a "Generating image variants require the
# image_processing gem" notice.
config.active_storage.variant_processor = :disabled

# Assume all access to the app is happening through a SSL-terminating reverse proxy.
# Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
Expand Down
Loading