Remove unused scrollbars in /implement

This commit is contained in:
Sebastian Serth
2018-11-06 15:22:27 +01:00
parent 248c3214cb
commit cc48361a15
3 changed files with 6 additions and 3 deletions

View File

@@ -189,8 +189,8 @@ configureEditors: function () {
},
resizeParentOfAceEditor: function (element){
// calculate needed size: window height - position of top of button-bar - 60 for bar itself and margins
var windowHeight = window.innerHeight - $('#editor-buttons').offset().top - 60;
// calculate needed size: window height - position of top of ACE editor - height of autosave label below editor - 5 for bar margins
var windowHeight = window.innerHeight - $(element).offset().top - $('#autosave-label').height() - 5;
$(element).parent().height(windowHeight);
},
@@ -609,6 +609,7 @@ configureEditors: function () {
var toggle = $('a#toggle');
toggle.text(toggle.text() == toggle.data('hide') ? toggle.data('show') : toggle.data('hide'));
this.resizeAceEditors();
event.preventDefault();
},
/**

View File

@@ -26,6 +26,7 @@ span.caret {
.btn {
-webkit-font-smoothing: antialiased;
font-weight: 500;
font-size: 0.875rem;
}
.progress {
@@ -52,6 +53,7 @@ span.caret {
.badge-pill {
font-size: 100%;
font-weight: 500;
}
.container[data-controller] {