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

fix_motor_css

Fix css selector by id and scrollbar

Go with Limon suggestion using floats instead overflow-x: hidden

Fixes width of mixer (convert to uppercase) + escprotocol selectors
This commit is contained in:
Mark Haslinghuis 2022-03-12 21:47:13 +01:00
parent 75600b959e
commit 93421d061e
2 changed files with 7 additions and 11 deletions

View file

@ -321,7 +321,7 @@ TABS.motors.initialize = function (callback) {
for (let selectIndex = 0; selectIndex < mixerList.length; selectIndex++) {
mixerList.forEach(function (mixerEntry, mixerIndex) {
if (mixerEntry.pos === selectIndex) {
mixerListElement.append(`<option value="${(mixerIndex + 1)}">${mixerEntry.name}</option>`);
mixerListElement.append(`<option value="${(mixerIndex + 1)}">${mixerEntry.name.toUpperCase()}</option>`);
}
});
}