diff --git a/assets/sass/_theme/sections/diplomas.sass b/assets/sass/_theme/sections/diplomas.sass
index 66621a8ebaef706266a3b85dfa2751ead4269a02..ffc30dfa6fef8bfa538b7ba2a6139ad35d5d0792 100644
--- a/assets/sass/_theme/sections/diplomas.sass
+++ b/assets/sass/_theme/sections/diplomas.sass
@@ -157,10 +157,10 @@ ul.diplomas
             align-items: start
             a
                 @include media-breakpoint-between(sm, desktop)
-                display: flex
-                margin-right: $spacing0
-                &::after
-                    bottom: unset
+                    display: flex
+                    margin-right: $spacing0
+                    &::after
+                        bottom: unset
                 + p
                     margin-top: $spacing0
                 @include media-breakpoint-down(sm)