Skip to content

Commit

Permalink
fixed position changed with sticky.
Browse files Browse the repository at this point in the history
Took 28 seconds
  • Loading branch information
İlyas Özkurt committed Oct 2, 2022
1 parent 849d51b commit fbfe94f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions summernote-sticky-toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@
) {
$toolbar
.css({
'position': 'fixed',
'position': 'sticky',
'top': options.offset,
'width': $editor.width() + 'px',
'z-index': options.zIndex,
});
} else {
$toolbar
.css({
'position': 'static',
'top': 0,
});
}
}
Expand Down

0 comments on commit fbfe94f

Please sign in to comment.