Update action selector
Updated the toast action selector to `first-of-type` instead
This commit is contained in:
parent
547055db58
commit
08be6ed23b
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
background-color: rgba($gray-900, $toast-background-opacity);
|
||||
|
||||
@include media-breakpoint-down(xs) {
|
||||
.action:first-child {
|
||||
.action:first-of-type {
|
||||
// Ensures actions buttons are right aligned on mobile
|
||||
margin-left: auto;
|
||||
}
|
||||
|
@ -33,7 +33,7 @@
|
|||
text-transform: none;
|
||||
font-size: $gl-font-size;
|
||||
|
||||
&:first-child {
|
||||
&:first-of-type {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue