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:
parent
f0c0a98163
commit
a23f3cfb33
2 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue