summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Erasmus <jerasmus@gitlab.com>2019-06-27 07:03:37 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-06-27 07:03:37 +0000
commit08be6ed23bdeaae4a3f356ef02a5dd791ca3fcee (patch)
tree94eaee7207223453165bf8ddad85a6926af96c91
parent547055db58447017f33771c913edd296a3f58e35 (diff)
downloadgitlab-ce-08be6ed23bdeaae4a3f356ef02a5dd791ca3fcee.tar.gz
Update action selector
Updated the toast action selector to `first-of-type` instead
-rw-r--r--app/assets/stylesheets/components/toast.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/components/toast.scss b/app/assets/stylesheets/components/toast.scss
index 33e1c4e5349..acbd909d595 100644
--- a/app/assets/stylesheets/components/toast.scss
+++ b/app/assets/stylesheets/components/toast.scss
@@ -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;
}
}