Skip to content

Commit

Permalink
Fix TinyMce campaign editor toolbar to the top on scroll. Closes #549.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 28, 2021
1 parent b290d27 commit f39ee4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions frontend/src/assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ body.is-noscroll {
.tox .tox-statusbar {
border: 0;
}

.tox-tinymce--toolbar-sticky-on .tox-editor-header {
padding-top: 48px !important;
}

}


Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
</footer>
</div>
</b-modal>

</template>

<!-- raw html editor //-->
Expand Down Expand Up @@ -211,6 +210,7 @@ export default {
},
min_height: 500,
toolbar_sticky: true,
entity_encoding: 'raw',
convert_urls: true,
plugins: [
Expand Down

0 comments on commit f39ee4e

Please sign in to comment.