diff --git a/CHANGELOG.md b/CHANGELOG.md index f9074f7d..fd17d345 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ - Image URLs in stylesheets are no longer processed by `asset-path-if-exists`. For Rails integrations, consider using [the `$theme-image-path` Sass variable](https://designsystem.digital.gov/documentation/settings/#general-settings) in combination with [Sprockets `resolve_assets_in_css_urls` option](https://github.com/rails/sprockets-rails#initializer-options). - The deprecated `$image-path` Sass variable setting has been removed. Use `$theme-image-path` instead. - The deprecated `alerts/success-badge.svg` image has been removed. Use `alerts/success.svg` instead. +- Removed `usa-alert__paragraph` alert helper class. Use [`measure-3` measure utility](https://designsystem.digital.gov/utilities/paragraph-styles/#max-width) instead. ### Improvements diff --git a/docs/_components/alerts.md b/docs/_components/alerts.md index 00b94c16..1509064a 100644 --- a/docs/_components/alerts.md +++ b/docs/_components/alerts.md @@ -5,8 +5,6 @@ lead: > subnav: - text: Types of Alerts href: "#types-of-alerts" - - text: Limiting Alert Width - href: "#limiting-alert-width" --- {% include helpers/base-component.html component="alert" stylesheet="alerts" %} @@ -75,23 +73,3 @@ Visit the [USWDS Alerts component](https://designsystem.digital.gov/components/a {% endcapture %} {% include helpers/code-example.html code=example %} - -## Limiting Alert Width - -If desired for aesthetics, the background coloring for alerts can be constrained to the width of a paragraph by appending the `usa-alert__paragraph` class to the `usa-alert` container. - -
This “Other”-styled alert is constrained to the width of a paragraph. It works well when an alert is displayed in the context of a larger document, with paragraphs of text before or after it.
-This “Other”-styled alert is full width. It can look a little silly when combined with paragraph-width text.
-