diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2019-06-27 07:03:38 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-06-27 07:03:38 +0000 |
commit | ec5137f65a558d2a8e3884729ee46f9b91f627a9 (patch) | |
tree | 94eaee7207223453165bf8ddad85a6926af96c91 | |
parent | 547055db58447017f33771c913edd296a3f58e35 (diff) | |
parent | 08be6ed23bdeaae4a3f356ef02a5dd791ca3fcee (diff) | |
download | gitlab-ce-ec5137f65a558d2a8e3884729ee46f9b91f627a9.tar.gz |
Merge branch 'update-toast-styling' into 'master'
Update toast action selector
See merge request gitlab-org/gitlab-ce!30024
-rw-r--r-- | app/assets/stylesheets/components/toast.scss | 4 |
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; } } |