diff --git a/docs/content/components/alerts.md b/docs/content/components/alerts.md index 2db22c45..1f5a099c 100644 --- a/docs/content/components/alerts.md +++ b/docs/content/components/alerts.md @@ -172,9 +172,7 @@ A flash message that is full width and removes border and border radius. ```html live
-
- Full width flash message. -
+ Full width flash message.
``` diff --git a/src/alerts/flash.scss b/src/alerts/flash.scss index 6b572246..41c288ef 100644 --- a/src/alerts/flash.scss +++ b/src/alerts/flash.scss @@ -4,7 +4,7 @@ .flash { position: relative; // stylelint-disable-next-line primer/spacing - padding: 20px $spacer-4; + padding: 20px $spacer-3; color: $text-gray-dark; border-style: $border-style; border-width: $border-width; @@ -56,7 +56,6 @@ float: right; // stylelint-disable-next-line primer/spacing margin-top: -3px; - margin-right: -$spacer-2; margin-left: $spacer-4; background-clip: padding-box; }