Skip to content
  • Sponsor
  • Notifications You must be signed in to change notification settings
  • Fork 118
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit deb0eba

Browse files
author
minjk-bl
committedMar 15, 2023
Edit top for jupyter notebook
1 parent 6657f92 commit deb0eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎visualpython/js/MainFrame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ define([
135135
let vpWidth = $('#vp_wrapper')[0].getBoundingClientRect().width;
136136
let vpHeight = $(window).height() - jupyterHeadHeight;
137137

138-
$('#vp_wrapper').css( { height: vpHeight + 'px' });
138+
$('#vp_wrapper').css( { height: vpHeight + 'px', top: jupyterHeadHeight + 'px' });
139139
this._resizeNotebook(vpWidth);
140140
} else if (vpConfig.extensionType === 'colab') {
141141
let colabHeaderVisible = $('#header').is(':visible');

0 commit comments

Comments
 (0)
Failed to load comments.