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

Restore failsafe modename CSS (#4159)

This commit is contained in:
Mark Haslinghuis 2024-09-06 23:44:48 +02:00 committed by GitHub
parent f0c0a98163
commit a23f3cfb33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,15 @@
.tab-failsafe {
position: relative;
.modename {
background-color: #828885;
border-radius: 3px;
border: 1px solid #686c6a;
color: #fff !important;
font-weight: 600 !important;
padding-left: 3px;
padding-right: 3px;
margin-right: 3px;
}
.number {
label {
display: flex;

View file

@ -798,10 +798,10 @@ const FC = {
getSupportedSerialRxTypes: () => {
if (FC.CONFIG.buildOptions?.length) {
const options = FC.CONFIG.buildOptions;
let supportedRxTypes = ['NONE',];
let supportedRxTypes = ['NONE'];
if (options.includes('USE_SERIALRX_TARGET_CUSTOM')) {
supportedRxTypes.push('TARGET_CUSTOM');
}
}
if (options.includes('USE_SERIALRX_SPEKTRUM')) {
supportedRxTypes.push('SPEKTRUM1024');
supportedRxTypes.push('SPEKTRUM2048');