Skip to content

Commit

Permalink
Restore failsafe modename CSS (#4159)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Sep 6, 2024
1 parent f0c0a98 commit a23f3cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/css/tabs/failsafe.less
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/js/fc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit a23f3cf

Please sign in to comment.