The system/base library makes sites load unnecessary CSS on most pages

Created on 21 August 2020, over 4 years ago
Updated 5 May 2023, almost 2 years ago

Problem/Motivation

The system/base library has CSS that is critical to the functionality of some UI elements such as tabledrags. Currently, system/base library is always attached but for example the tabledrags related CSS is not needed on most pages.

Proposed resolution

Deprecate system/base and move CSS files to smaller libraries that are specific to the functionality. For example, tabledrag.module.css would be moved to the tabledrag library.

Remaining tasks

  1. Agree that risk of having more CSS combination variations is a good trade off over loading unnecessary CSS
  2. Decide should we keep CSS related to files in core/misc in system module or should system module extend the tabledrag libraries by adding the CSS files

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

10.1

Component
CSS 

Last updated 10 days ago

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
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.

Production build 0.71.5 2024