WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#15612 closed defect (bug) (invalid)

Fix indentation and wordwrap in CSS files

Reported by: cri Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:

Description

Some CSS files (e.g. /wp-admin/css/login.css) lack proper wordwrap and indentation, and are really difficult to edit or patch for customisation.

Tidying with http://csstidy.sourceforge.net or similar tools would help.

Change History (1)

comment:1 duck_4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 3.0.1 deleted

That's the whole point, they're minified to make a smaller download size when the browser requests them (same for JS files). Look at the .dev.css version if you want unminified, edit that and then reminify... however you shouldn't be modifying the CSS files for customisation anyway, you should just be able to use a hook to inject your own styles to override.

Note: See TracTickets for help on using tickets.