improve receiver button alignment

This commit is contained in:
Jakob Ketterl 2019-10-04 00:17:40 +02:00
parent 9f90d01dc6
commit 351f63f0b8
2 changed files with 16 additions and 2 deletions

View File

@ -421,12 +421,18 @@ input[type=range]:focus::-ms-fill-upper
color: #FFFF50; color: #FFFF50;
} }
.openwebrx-button:last-child {
margin-right: 0;
}
.openwebrx-demodulator-button .openwebrx-demodulator-button
{ {
width: 38px; width: 38px;
height: 19px; height: 19px;
font-size: 12pt; font-size: 12pt;
text-align: center; text-align: center;
flex: 1;
margin-right: 5px;
} }
.openwebrx-dial-button svg { .openwebrx-dial-button svg {
@ -597,6 +603,11 @@ img.openwebrx-mirror-img
padding-top: 5px; padding-top: 5px;
} }
.openwebrx-panel-flex-line {
display: flex;
flex-direction: row;
}
.openwebrx-panel-line:first-child { .openwebrx-panel-line:first-child {
padding-top: 0; padding-top: 0;
} }
@ -707,6 +718,7 @@ img.openwebrx-mirror-img
width: 173px; width: 173px;
height: 27px; height: 27px;
padding-left:3px; padding-left:3px;
margin-right: 5px;
} }
#openwebrx-sdr-profiles-listbox { #openwebrx-sdr-profiles-listbox {

View File

@ -60,7 +60,7 @@
<select id="openwebrx-sdr-profiles-listbox" onchange="sdr_profile_changed();"> <select id="openwebrx-sdr-profiles-listbox" onchange="sdr_profile_changed();">
</select> </select>
</div> </div>
<div class="openwebrx-panel-line"> <div class="openwebrx-panel-line openwebrx-panel-flex-line">
<div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-nfm" <div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-nfm"
onclick="demodulator_analog_replace('nfm');">FM</div> onclick="demodulator_analog_replace('nfm');">FM</div>
<div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-am" <div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-am"
@ -71,6 +71,8 @@
onclick="demodulator_analog_replace('usb');">USB</div> onclick="demodulator_analog_replace('usb');">USB</div>
<div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-cw" <div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-cw"
onclick="demodulator_analog_replace('cw');">CW</div> onclick="demodulator_analog_replace('cw');">CW</div>
</div>
<div class="openwebrx-panel-line openwebrx-panel-flex-line">
<div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-dmr" <div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-dmr"
style="display:none;" data-feature="digital_voice_digiham" style="display:none;" data-feature="digital_voice_digiham"
onclick="demodulator_analog_replace('dmr');">DMR</div> onclick="demodulator_analog_replace('dmr');">DMR</div>
@ -84,7 +86,7 @@
style="display:none;" data-feature="digital_voice_digiham" style="display:none;" data-feature="digital_voice_digiham"
onclick="demodulator_analog_replace('ysf');">YSF</div> onclick="demodulator_analog_replace('ysf');">YSF</div>
</div> </div>
<div class="openwebrx-panel-line"> <div class="openwebrx-panel-line openwebrx-panel-flex-line">
<div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-dig" onclick="demodulator_digital_replace_last();">DIG</div> <div class="openwebrx-button openwebrx-demodulator-button" id="openwebrx-button-dig" onclick="demodulator_digital_replace_last();">DIG</div>
<select id="openwebrx-secondary-demod-listbox" onchange="secondary_demod_listbox_changed();"> <select id="openwebrx-secondary-demod-listbox" onchange="secondary_demod_listbox_changed();">
<option value="none"></option> <option value="none"></option>