design-system
design-system copied to clipboard
Clean up CSS cruft
Describe the bug
Post BEM conversion (see https://github.com/cfpb/design-system/pull/1919), here is some additional CSS that can be removed:
- ~~
a-tagline--xlarge~~ content--2-1- ~~
content__wrapper--match-content- this class is being created becausecontent__wrapperextendswrapper, which defineswrapper--match-content.~~ - ~~
content__bleedbar~~
Some refactoring:
o-table-wrapper--scrollingshould be updated too-table--scrolling- ~~
o-form--input-w-btnto not be a modifier ofo-form(see https://github.com/cfpb/design-system/pull/1933~~
content__bleedbar removed in https://github.com/cfpb/design-system/pull/1954
a-tagline--xlarge removed in https://github.com/cfpb/design-system/pull/1960
@anselmbradford will update this issue
content__wrapper--match-content removed in https://github.com/cfpb/design-system/pull/1997
o-form--input-w-btn removed in https://github.com/cfpb/design-system/pull/1979
@anselmbradford would you mind updating the status of this one?
o-table-wrapper--scrolling renamed in https://github.com/cfpb/design-system/pull/2068
I'm going to close this. The last item, content--2-1, is only used in BAH/OAH Rate Explorer. We could remove it from the DS and re-create it in BAH, but there's a similar class, content--3-1, which has wider use and it seems better to keep those two together. If Rate Explorer removes content--2-1, we can remove it here.