Fix for open log

pull/3/head
skaman82 9 years ago
parent c75eb290c4
commit dcc037c549

@ -886,7 +886,24 @@ li.active .ic_mission {
overflow-y: auto; overflow-y: auto;
border: 0px solid #848484; /* 1px solid #848484; */ border: 0px solid #848484; /* 1px solid #848484; */
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */ -webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
transition: all 1.0s;
} }
#content.active {
margin-top: 0px; /* 31 */
padding: 20px; /* 10 */
height:calc(100% - 274px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
background-color: white;
overflow-x: hidden;
overflow-y: auto;
border: 0px solid #848484; /* 1px solid #848484; */
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
transition: all 1.3s;
}
#status-bar { #status-bar {
position: fixed; position: fixed;
bottom: 0px; bottom: 0px;

@ -378,12 +378,15 @@ $("#showlog").on('click', function() {
if ( state ) { if ( state ) {
$("#log").animate({height: 27}, 800); $("#log").animate({height: 27}, 800);
$("#log").removeClass('active'); $("#log").removeClass('active');
$("#content").removeClass('active');
$("#scrollicon").removeClass('active'); $("#scrollicon").removeClass('active');
state = false; state = false;
}else{ }else{
$("#log").animate({height: 111}, 800); $("#log").animate({height: 111}, 800);
$("#log").addClass('active'); $("#log").addClass('active');
$("#content").addClass('active');
$("#scrollicon").addClass('active'); $("#scrollicon").addClass('active');
state = true; state = true;

Loading…
Cancel
Save