diff --git a/core/admin/assets/js/toggle.js b/core/admin/assets/js/toggle.js index ff5e4f016f..3073463057 100644 --- a/core/admin/assets/js/toggle.js +++ b/core/admin/assets/js/toggle.js @@ -13,9 +13,10 @@ $el.find('[data-toggle]').on('click', function (e) { e.preventDefault(); + e.stopPropagation(); $(this).toggleClass('active'); var toggle = $(this).data('toggle'); - $(this).parent().children(toggle).fadeToggle(100).toggleClass('open'); + $(this).parent().children(toggle).fadeToggle(200).toggleClass('open'); }); }; @@ -35,4 +36,4 @@ Ghost.temporary.initToggles($(document)); }); -}()); \ No newline at end of file +}()); diff --git a/core/admin/assets/sass/modules/global.scss b/core/admin/assets/sass/modules/global.scss index 14fb5cae5d..65d8846697 100644 --- a/core/admin/assets/sass/modules/global.scss +++ b/core/admin/assets/sass/modules/global.scss @@ -643,12 +643,6 @@ nav { @include transition(left 0.3s ease 0s); } > a { - @include icon-after($i-chevron-down, 12px) { - position:absolute; - right: 20px; - top: 15px; - } - &:hover { background: inherit; } &.active { background: darken($grey, 3%); } } @@ -694,7 +688,8 @@ nav { }; &.active { - @include icon-after($i-chevron-down, 8px, $darkgrey); + color: $darkgrey; + @include icon-after($i-chevron-down, 8px); } } diff --git a/core/admin/assets/tpl/preview.hbs b/core/admin/assets/tpl/preview.hbs index 604cf3e6f6..53085eba32 100644 --- a/core/admin/assets/tpl/preview.hbs +++ b/core/admin/assets/tpl/preview.hbs @@ -9,7 +9,7 @@
-