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:
parent
0ee8139a29
commit
67ddeaed22
@ -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>
|
||||
```
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user