app/assets/javascripts/spina/admin/scaffold.coffee in spina-2.0.0.alpha vs app/assets/javascripts/spina/admin/scaffold.coffee in spina-2.0.0.beta
- old
+ new
@@ -63,9 +63,10 @@
# Set paddingTop for section#main
if header = document.getElementById('header')
headerHeight = header.getBoundingClientRect().height
$('section#main').css({paddingTop: headerHeight})
+ $('section#main trix-toolbar').css({top: headerHeight + 15})
# Login wrapper
$('#login_wrapper').css('margin-top', $(document).innerHeight() / 8)
# Custom file