1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 17:12:27 +03:00

Use px-3 for flash alerts

This commit is contained in:
simurai 2020-05-05 10:54:22 +09:00
parent 0ee8139a29
commit 67ddeaed22
2 changed files with 2 additions and 5 deletions

View File

@ -172,9 +172,7 @@ A flash message that is full width and removes border and border radius.
```html live
<div class="flash flash-full">
<div class="container">
Full width flash message.
</div>
Full width flash message.
</div>
```

View File

@ -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;
}