Commit ec5137f6 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'update-toast-styling' into 'master'

Update toast action selector

See merge request gitlab-org/gitlab-ce!30024
parents 547055db 08be6ed2
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
background-color: rgba($gray-900, $toast-background-opacity); background-color: rgba($gray-900, $toast-background-opacity);
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
.action:first-child { .action:first-of-type {
// Ensures actions buttons are right aligned on mobile // Ensures actions buttons are right aligned on mobile
margin-left: auto; margin-left: auto;
} }
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
text-transform: none; text-transform: none;
font-size: $gl-font-size; font-size: $gl-font-size;
&:first-child { &:first-of-type {
padding-right: 0; 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