This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Inline Styles clutter dev tools for HTML Inspection #632
Open
Description
Bug, feature request, or proposal:
Request: Use classes to provide styling
What is the expected behavior?
class attribute is added, which assigns the necessary styling
What is the current behavior?
Inline styles are used to provide the styling
What are the steps to reproduce?
Use the directives and checkout the Dev Tools. Inline styles add lots of extra text to the HTML inspection view.
What is the use-case or motivation for changing an existing behavior?
The motivation is, to provide more easily readable code. By using classes, the Dev Tools are kept free of long strings of inline styles.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Is there a specific reason, inline styles were chosen over classes ?