diff options
author | jerasmus <jerasmus@gitlab.com> | 2019-06-25 12:27:29 +0200 |
---|---|---|
committer | jerasmus <jerasmus@gitlab.com> | 2019-06-25 12:27:29 +0200 |
commit | f2b5a7e3dd23963380837863523765fda41aeea3 (patch) | |
tree | 53c7c6ed0429458d3473dfb78a677e40bd40cde3 | |
parent | 3115c9fc121743dea29aa92a603a0c782eb3d75b (diff) | |
download | gitlab-ce-update-toast-styling.tar.gz |
Update action selectorupdate-toast-styling
Updated the toast action selector to `first-of-type` instead
-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; } } |