writing mode fix
This commit is contained in:
@ -958,3 +958,6 @@ body {
|
||||
margin-top: 10px;
|
||||
visibility: hidden;
|
||||
}
|
||||
#moreBtn {
|
||||
right: 0 !important;
|
||||
}
|
||||
|
@ -1058,5 +1058,7 @@ html,body {
|
||||
visibility: hidden;
|
||||
}
|
||||
body {
|
||||
|
||||
}
|
||||
#moreBtn {
|
||||
right: 0 !important;
|
||||
}
|
2
public/js/app/page-min.js
vendored
2
public/js/app/page-min.js
vendored
File diff suppressed because one or more lines are too long
@ -729,6 +729,8 @@ editorMode.prototype.changeMode = function(isWritingMode) {
|
||||
} else {
|
||||
this.normalMode();
|
||||
}
|
||||
|
||||
$("#moreBtn i").removeClass("fa-angle-up").addClass("fa-angle-down");
|
||||
}
|
||||
editorMode.prototype.normalMode = function() {
|
||||
var $c = $("#editorContent_ifr").contents();
|
||||
@ -743,7 +745,7 @@ editorMode.prototype.normalMode = function() {
|
||||
theme += ".css";
|
||||
$("#themeLink").attr("href", "/css/theme/" + theme);
|
||||
|
||||
|
||||
$("#mceToolbar").css("height", "30px");
|
||||
}
|
||||
editorMode.prototype.writtingMode = function() {
|
||||
// $("body").fadeOut();
|
||||
@ -762,6 +764,8 @@ editorMode.prototype.writtingMode = function() {
|
||||
$("#noteItemListWrap, #notesAndSort").fadeOut();
|
||||
});
|
||||
|
||||
// 点击扩展会使html的height生成, 切换后会覆盖css文件的
|
||||
$("#mceToolbar").css("height", "40px");
|
||||
// $("body").fadeIn();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user