Fix wrapping

10.7.0-preview
IvoFPV 2019-08-24 18:19:51 +02:00
parent 61d0b1e857
commit 34ca57fec2
2 changed files with 15 additions and 15 deletions

View File

@ -799,7 +799,7 @@
}
.tab-pid_tuning .subtab-pid .cf_column {
min-width: 500px;
min-width: 470px;
flex: 1;
}
@ -814,3 +814,17 @@
.tab-pid_tuning table.filterTable td:first-child {
width: 25%;
}
@media only screen and (max-width: 1205px) {
.tab-pid_tuning .subtab-pid .spacer_left {
width: 100%;
}
}
@media only screen and (max-width: 1405px) {
.tab-pid_tuning .subtab-rates .ratePreview.spacer_left {
width: 100%;
}
}

View File

@ -1429,20 +1429,6 @@ TABS.pid_tuning.initialize = function (callback) {
});
}
$(window).resize(function() {
let width = $(this).width();
if (width <= 1265) {
$('.pidControllerAdvancedSettings').removeClass('spacer_left');
} else if (width >= 1283) {
$('.pidControllerAdvancedSettings').addClass('spacer_left');
}
if (width <= 1405) {
$('.ratePreview').removeClass('spacer_left');
} else if (width >= 1423) {
$('.ratePreview').addClass('spacer_left');
}
});
// update == save.
$('a.update').click(function () {
form_to_pid_and_rc();