Commit 08be6ed2 authored by Jacques Erasmus's avatar Jacques Erasmus Committed by Kushal Pandya

Update action selector

Updated the toast action selector to `first-of-type` instead
parent 547055db
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment