Update action selector

Updated the toast action selector to `first-of-type` instead
This commit is contained in:
Jacques Erasmus 2019-06-27 07:03:37 +00:00 committed by Kushal Pandya
parent 547055db58
commit 08be6ed23b
1 changed files with 2 additions and 2 deletions

View File

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