webform-newsletter.css is loaded on every page

Created on 19 October 2025, 9 days ago
Updated 20 October 2025, 8 days ago

Problem/Motivation

#
The webform global library includes components/webform-newsletter/webform-newsletter.css on every page. Not every site template will have a webform on every page (or any page) so this would be better loaded conditionally when there's a webform, or for the specific webform it's styling. Also a bit confusing that CSS from what appears to be an SDC is being manually added to the libraries definition instead of the CSS being loaded with the SDC.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

CSS

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024