Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit31fc47a

Browse files
committed
revert change in page alignment
1 parenta11d686 commit31fc47a

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

‎notebook/static/base/js/page.js‎

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define([
2727
// - header change
2828
// - page load
2929
var_handle_resize=$.proxy(this._resize_site,this);
30-
30+
3131
$(window).resize(_handle_resize);
3232

3333
// On document ready, resize codemirror.
@@ -61,8 +61,6 @@ define([
6161
this._resize_site();
6262
};
6363

64-
65-
6664
Page.prototype._resize_site=function(e){
6765
/**
6866
* Update the site's size.
@@ -74,21 +72,7 @@ define([
7472
if(!(e&&e.target&&e.target.tagName)){
7573
$('div#site').height($(window).height()-$('#header').height());
7674
}
77-
this._align_header_site();
7875
};
7976

80-
81-
82-
Page.prototype._align_header_site=function(e){
83-
/**
84-
* Align the site and header divs
85-
*/
86-
varheader_div_element_width=this.header_div_element.outerWidth();
87-
varheader_container_width=$('div#header-container').outerWidth();
88-
varmargin_left=(header_div_element_width-header_container_width)/2;
89-
90-
this.site_div_element.find('.container').css('margin-left',margin_left);
91-
}
92-
9377
return{'Page':Page};
9478
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp