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:
parent
c75eb290c4
commit
dcc037c549
2 changed files with 20 additions and 0 deletions
17
main.css
Executable file → Normal file
17
main.css
Executable file → Normal file
|
@ -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;
|
||||||
|
|
3
main.js
Executable file → Normal file
3
main.js
Executable file → Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue