Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch t/ckeditor5/1348
Browse files Browse the repository at this point in the history
Docs: Fixed toolbar top offset on narrow screens. See ckeditor/ckeditor5#1348.
  • Loading branch information
Reinmar committed Nov 20, 2018
2 parents 07c4f24 + 06491d4 commit 966f78a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/_snippets/features/custom-highlight-colors-inline.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ClassicEditor
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
],
viewportTopOffset: 100
viewportTopOffset: window.getViewportTopOffsetConfig()
},
highlight: {
options: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ClassicEditor
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
],
viewportTopOffset: 100
viewportTopOffset: window.getViewportTopOffsetConfig()
},
highlight: {
options: [
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/features/custom-highlight-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ClassicEditor
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
],
viewportTopOffset: 100
viewportTopOffset: window.getViewportTopOffsetConfig()
},
highlight: {
options: [
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/features/highlight-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ClassicEditor
'heading', '|', 'highlight:yellowMarker', 'highlight:greenMarker', 'highlight:pinkMarker',
'highlight:greenPen', 'highlight:redPen', 'removeHighlight', '|', 'undo', 'redo'
],
viewportTopOffset: 100
viewportTopOffset: window.getViewportTopOffsetConfig()
}
} )
.then( editor => {
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/features/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ClassicEditor
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
],
viewportTopOffset: 100
viewportTopOffset: window.getViewportTopOffsetConfig()
}
} )
.then( editor => {
Expand Down

0 comments on commit 966f78a

Please sign in to comment.