1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 17:25:16 +03:00

Fix for open log

This commit is contained in:
skaman82 2015-10-28 12:35:44 +01:00
parent c75eb290c4
commit dcc037c549
2 changed files with 20 additions and 0 deletions

17
main.css Executable file → Normal file
View file

@ -886,7 +886,24 @@ li.active .ic_mission {
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.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 {
position: fixed;
bottom: 0px;

3
main.js Executable file → Normal file
View file

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