Skip to content

Commit

Permalink
Make sticky button not limited to Pages section
Browse files Browse the repository at this point in the history
  • Loading branch information
satrun77 committed May 24, 2024
1 parent 24ba62a commit c04b5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/bundles/FieldEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jQuery.entwine('ss', ($) => {
let thisLevel = 0;
let depth = 0;
const $buttonrow = $('.uf-field-editor .ss-gridfield-buttonrow').addClass('sticky-buttons');
const navHeight = $('.cms-content-header.north').first().height()
const navHeight = $('.cms-content-header').first().height()
+ parseInt($('.sticky-buttons').css('padding-top'), 10);
const fieldEditor = $('.uf-field-editor');

Expand Down

0 comments on commit c04b5de

Please sign in to comment.