trafficcontrol icon indicating copy to clipboard operation
trafficcontrol copied to clipboard

TPv2 Should not use internal Angular Material Selectors

Open shamrickus opened this issue 1 year ago • 0 comments

This Bug Report affects these Traffic Control components:

  • Traffic Portal v2

Current behavior:

Across the TPv2 code base we currently style Angular Material components by attaching to internal elements/attributes. For instance mat-card or .mat-mdc-card (once #7454 is merged).

Expected behavior:

These instances should be updated to use our own classes as selectors, for instance instead of attaching to a mat-card we should add our own class to it and select for that class. The Angular Material library is built with this in mind so this method of styling.

shamrickus avatar May 03 '23 15:05 shamrickus