Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vtx tab presentation #4257

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/css/tabs/vtx.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
margin-right: auto;
}
}
label {
.label {
width: 100%;
>span {
margin-right: auto;
Expand Down
27 changes: 19 additions & 8 deletions src/tabs/vtx.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
</span>
<label>
<span class="freelabel" i18n="vtxFrequencyChannel"></span>
<div class="helpicon cf_tip" i18n_title="vtxFrequencyChannelHelp"></div>
</label>
<div class="helpicon cf_tip" i18n_title="vtxFrequencyChannelHelp"></div>
</div>

<div class="field number vtx_band">
Expand All @@ -52,8 +52,8 @@
</span>
<label>
<span i18n="vtxBand"></span>
<div class="helpicon cf_tip" i18n_title="vtxBandHelp"></div>
</label>
<div class="helpicon cf_tip" i18n_title="vtxBandHelp"></div>
</div>

<div class="field number vtx_channel">
Expand All @@ -64,8 +64,8 @@
</span>
<label>
<span i18n="vtxChannel"></span>
<div class="helpicon cf_tip" i18n_title="vtxChannelHelp"></div>
</label>
<div class="helpicon cf_tip" i18n_title="vtxChannelHelp"></div>
</div>

<div class="field number vtx_frequency">
Expand All @@ -74,8 +74,8 @@
</span>
<label>
<span i18n="vtxFrequency"></span>
<div class="helpicon cf_tip" i18n_title="vtxFrequencyHelp"></div>
</label>
<div class="helpicon cf_tip" i18n_title="vtxFrequencyHelp"></div>
</div>

<div class="field number vtx_power">
Expand All @@ -84,23 +84,29 @@
<!-- Power options generated here from the js -->
</select>
</span>
<span i18n="vtxPower"></span>
<label>
<span i18n="vtxPower"></span>
</label>
<div class="helpicon cf_tip" i18n_title="vtxPowerHelp"></div>
</div>

<div class="field checkbox vtx_pit_mode">
<span class="checkboxspacer">
<input type="checkbox" id="vtx_pit_mode" class="toggle" />
</span>
<span class="freelabel" i18n="vtxPitMode"></span>
<label>
<span class="freelabel" i18n="vtxPitMode"></span>
</label>
<div class="helpicon cf_tip" i18n_title="vtxPitModeHelp"></div>
</div>

<div class="field number vtx_pit_mode_frequency">
<span class="numberspacer">
<input class="frequency_input" type="number" id="vtx_pit_mode_frequency" min="0" max="5999">
</span>
<span i18n="vtxPitModeFrequency"></span>
<label>
<span i18n="vtxPitModeFrequency"></span>
</label>
<div class="helpicon cf_tip" i18n_title="vtxPitModeFrequencyHelp"></div>
</div>

Expand All @@ -112,7 +118,9 @@
<option value="2" i18n="vtxLowPowerDisarmOption_2"></option>
</select>
</span>
<span class="freelabel" i18n="vtxLowPowerDisarm"></span>
<label>
<span i18n="vtxLowPowerDisarm"></span>
</label>
<div class="helpicon cf_tip" i18n_title="vtxLowPowerDisarmHelp"></div>
</div>
</div>
Expand Down Expand Up @@ -182,6 +190,9 @@
<label>
<span i18n="vtxTableBands"></span>
</label>
<div class="helpicon cf_tip" i18n_title="vtxTableBandsHelp"></div>
</div>
<div class="field number vtx_table_channels">
<span class="numberspacer">
<input class="one_digit_input" type="number" id="vtx_table_channels" min="0" max="8">
</span>
Expand Down