Tidy some formatting in OSD config tab

10.3.x-maintenance
Dan Nixon 2017-06-30 09:23:46 +01:00
parent 829b0b468a
commit b8a3e4c8c9
2 changed files with 26 additions and 26 deletions

View File

@ -422,30 +422,30 @@ button {
}
.tab-osd .alarms label {
display: block;
width:100%;
border-bottom: 1px solid #ddd;
margin-top:5px;
padding-bottom: 5px
}
display: block;
width:100%;
border-bottom: 1px solid #ddd;
margin-top:5px;
padding-bottom: 5px
}
.tab-osd .alarms label:last-child {
border-bottom: none;
padding-bottom: 0px
}
border-bottom: none;
padding-bottom: 0px
}
.tab-osd .alarms input {
width: 55px;
padding-left: 3px;
height: 18px;
line-height: 20px;
text-align: left;
border: 1px solid silver;
border-radius: 3px;
margin-right: 11px;
font-size: 11px;
font-weight: normal;
}
width: 55px;
padding-left: 3px;
height: 18px;
line-height: 20px;
text-align: left;
border: 1px solid silver;
border-radius: 3px;
margin-right: 11px;
font-size: 11px;
font-weight: normal;
}
.timer-option {
float: none !important;

View File

@ -1065,17 +1065,17 @@ TABS.osd.initialize = function (callback) {
// ask for the OSD config data
MSP.promise(MSPCodes.MSP_OSD_CONFIG)
.then(function(info) {
OSD.chooseFields();
OSD.msp.decode(info);
if (OSD.data.state.haveSomeOsd == 0) {
$('.unsupported').fadeIn();
return;
}
$('.supported').fadeIn();
// show Betaflight logo in preview
var $previewLogo = $('.preview-logo').empty();
$previewLogo.append(